diff options
author | Florian Fainelli <florian@openwrt.org> | 2005-12-12 22:44:19 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2005-12-12 22:44:19 +0000 |
commit | dd9fa02bedf1edca47101c4326f4cc87ec15056c (patch) | |
tree | cbcba031c434b5f9157f3e12fea025e4e0735fd5 /package/vrrpd/Makefile | |
parent | ae42187b797bf4aa59ab5baf338472749a4fe4d5 (diff) | |
download | upstream-dd9fa02bedf1edca47101c4326f4cc87ec15056c.tar.gz upstream-dd9fa02bedf1edca47101c4326f4cc87ec15056c.tar.bz2 upstream-dd9fa02bedf1edca47101c4326f4cc87ec15056c.zip |
Added vrrpd package, fixed typo in vgp Config.in and added them to the package list in menuconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2644 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/vrrpd/Makefile')
-rwxr-xr-x | package/vrrpd/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/package/vrrpd/Makefile b/package/vrrpd/Makefile new file mode 100755 index 0000000000..82ee36b7b3 --- /dev/null +++ b/package/vrrpd/Makefile @@ -0,0 +1,33 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=vrrpd +PKG_VERSION:=1.0 +PKG_RELEASE:=1 + +PKG_MD5SUM:=6d5066ea1a6ced817376ca0f54765447 +PKG_SOURCE_URL:=@SF/vrrpd + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) +PKG_CAT:=zcat + +PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install + +include $(TOPDIR)/package/rules.mk + +$(eval $(call PKG_template,VRRPD,VRRPD,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) + +$(PKG_BUILD_DIR)/.configured: + touch $@ + +$(PKG_BUILD_DIR)/.built: + mkdir -p $(PKG_INSTALL_DIR)/usr/sbin + $(MAKE) CC=$(TARGET_CC) -C $(PKG_BUILD_DIR) + install -m0755 $(PKG_BUILD_DIR)/vrrpd $(PKG_INSTALL_DIR)/usr/sbin/ + touch $@ + +$(IPKG_VRRPD): + mkdir -p $(IDIR_VRRPD) + cp -fpR $(PKG_INSTALL_DIR)/* $(IDIR_VRRPD)/ + $(RSTRIP) $(IDIR_VRRPD) + $(IPKG_BUILD) $(IDIR_VRRPD) $(PACKAGE_DIR) |