77d63f4a422e7077ffc346e4f555828406d9e487
[openwrt/svn-archive/archive.git] / net / ucarp / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=ucarp
4 PKG_VERSION:=1.5.1
5 PKG_RELEASE:=1
6
7 PKG_MD5SUM:=9219ea8214198e8af751353a132087bb
8 PKG_SOURCE_URL:=http://download.pureftpd.org/pub/ucarp
9 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
10 PKG_CAT:=bzcat
11
12 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
13 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
14
15 include $(INCLUDE_DIR)/package.mk
16
17 define Package/ucarp
18 SECTION:=net
19 CATEGORY:=Network
20 TITLE:=Lets several hosts share one IP
21 URL:=http://carp.org
22 endef
23
24 define Package/ucarp/description
25 ucarp allows a couple of hosts to share common virtual IP addresses in order
26 to provide automatic failover. It is a portable userland implementation of the
27 secure and patent-free Common Address Redundancy Protocol
28 endef
29
30 define Package/ucarp/install
31 $(INSTALL_DIR) $(1)/sbin
32 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ucarp $(1)/sbin/
33 endef
34
35 $(eval $(call BuildPackage,ucarp))