shairplay: remove
[feed/packages.git] / net / pen / Makefile
1 #
2 # Copyright (C) 2006-2015 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=pen
11 PKG_VERSION:=0.34.1
12 PKG_RELEASE:=3
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://siag.nu/pub/pen/
16 PKG_HASH:=2b640795029df9d1672e17202c109cc5d42538f6754a6070dc27da640881e864
17
18 PKG_LICENSE:=GPL-2.0-or-later
19 PKG_LICENSE_FILES:=COPYING
20 PKG_MAINTAINER:=
21
22 PKG_BUILD_PARALLEL:=1
23 PKG_INSTALL:=1
24
25 include $(INCLUDE_DIR)/package.mk
26
27 define Package/pen
28 SECTION:=net
29 CATEGORY:=Network
30 DEPENDS:=+libopenssl
31 TITLE:=Simple TCP load balancer
32 URL:=http://siag.nu/pen/
33 endef
34
35 define Package/pen/description
36 This is pen, a load balancer for "simple" TCP based protocols
37 such as HTTP or SMTP. It allows several servers to appear as
38 one to the outside and automatically detects servers that are
39 down and distributes clients among the available servers.
40 This gives high availability and scalable performance.
41 endef
42
43 CONFIGURE_ARGS += \
44 --with-poll \
45 --with-ssl="$(STAGING_DIR)/usr" \
46 --without-geoip \
47
48 define Package/pen/install
49 $(INSTALL_DIR) $(1)/usr/bin
50 $(CP) $(PKG_INSTALL_DIR)/usr/bin/mergelogs $(1)/usr/bin/
51 $(CP) $(PKG_INSTALL_DIR)/usr/bin/pen $(1)/usr/bin/
52 $(CP) $(PKG_INSTALL_DIR)/usr/bin/penctl $(1)/usr/bin/
53 $(CP) $(PKG_INSTALL_DIR)/usr/bin/penlog $(1)/usr/bin/
54 $(CP) $(PKG_INSTALL_DIR)/usr/bin/penlogd $(1)/usr/bin/
55 $(INSTALL_BIN) $(PKG_BUILD_DIR)/penctl.cgi $(1)/usr/bin/
56 $(INSTALL_BIN) $(PKG_BUILD_DIR)/penstats $(1)/usr/bin/
57 endef
58
59 $(eval $(call BuildPackage,pen))