2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=ftp
://siag.nu
/pub
/pen
/
17 PKG_MD5SUM
:=96f6d39e7e7cca11a647e795550f3829
19 include $(INCLUDE_DIR
)/package.mk
25 TITLE
:=Simple tcp load balancer
26 URL
:=http
://siag.nu
/pen
/
29 define Package
/pen
/description
30 This is pen
, a load balancer for
"simple" tcp based protocols
31 such
as http or smtp. It allows several servers to appear
as
32 one to the outside and automatically detects servers that are
33 down and distributes clients among the available servers.
34 This gives high availability and scalable performance.
37 define Build
/Configure
38 $(call Build
/Configure
/Default
, \
40 --with-experimental-only-ssl
="$(STAGING_DIR)/usr" \
45 $(MAKE
) -C
$(PKG_BUILD_DIR
)
48 define Package
/pen
/install
49 $(INSTALL_DIR
) $(1)/usr
/bin
50 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/mergelogs
$(1)/usr
/bin
/
51 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/pen
$(1)/usr
/bin
/
52 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/penctl
$(1)/usr
/bin
/
53 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/penctl.cgi
$(1)/usr
/bin
/
54 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/penlog
$(1)/usr
/bin
/
55 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/penlogd
$(1)/usr
/bin
/
56 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/penstats
$(1)/usr
/bin
/
59 $(eval
$(call BuildPackage
,pen
))