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 | 6d9f02684af60b2c1dbfc02dee39b2bde2611172 (patch) | |
tree | 1ca9ba6d23ddde5d6c4c0ef336ef6531e93cce9c /openwrt/package/vrrpd/Makefile | |
parent | d34501685b87091bbfd6ebe1d5a7162d385176ec (diff) | |
download | mtk-20170518-6d9f02684af60b2c1dbfc02dee39b2bde2611172.zip mtk-20170518-6d9f02684af60b2c1dbfc02dee39b2bde2611172.tar.gz mtk-20170518-6d9f02684af60b2c1dbfc02dee39b2bde2611172.tar.bz2 |
Added vrrpd package, fixed typo in vgp Config.in and added them to the package list in menuconfig
SVN-Revision: 2644
Diffstat (limited to 'openwrt/package/vrrpd/Makefile')
-rwxr-xr-x | openwrt/package/vrrpd/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/openwrt/package/vrrpd/Makefile b/openwrt/package/vrrpd/Makefile new file mode 100755 index 0000000..82ee36b --- /dev/null +++ b/openwrt/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) |