X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=ipv6%2Fahcpd%2FMakefile;h=18cd6e2c70e5a850eccddba8a69324a805478336;hb=f089d2613a57c89ed4fa51bbc6afbac817dfae3c;hp=510062b45f6ee7ee1f8dff07b6f620787ee987eb;hpb=f0ae3c9061920eb34b5cac228afa22fcb90ba9c6;p=openwrt%2Fsvn-archive%2Farchive.git diff --git a/ipv6/ahcpd/Makefile b/ipv6/ahcpd/Makefile index 510062b45f..18cd6e2c70 100644 --- a/ipv6/ahcpd/Makefile +++ b/ipv6/ahcpd/Makefile @@ -9,12 +9,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ahcpd -PKG_VERSION:=0.1 +PKG_VERSION:=0.5 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.pps.jussieu.fr/~jch/software/files/ -PKG_MD5SUM:=10779877e69605ab22675b36fbe3b8a4 +PKG_MD5SUM:=0e5fe1199161eeef214c43eca7eec9a1 include $(INCLUDE_DIR)/package.mk @@ -47,13 +47,21 @@ define Build/Compile all endef +define Package/ahcpd/conffiles +/etc/config/ahcpd +endef + define Package/ahcpd/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_BUILD_DIR)/ahcp-generate{,-address} $(1)/usr/bin/ $(INSTALL_DIR) $(1)/usr/lib/ahcp - $(INSTALL_BIN) $(PKG_BUILD_DIR)/ahcp-config.sh $(1)/usr/lib/ahcp/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/ahcp{,-dummy}-config.sh $(1)/usr/lib/ahcp/ $(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_BIN) $(PKG_BUILD_DIR)/ahcpd $(1)/usr/sbin/ + $(INSTALL_DIR) $(1)/etc/config + $(INSTALL_DATA) ./files/ahcpd.config $(1)/etc/config/ahcpd + $(INSTALL_DIR) $(1)/etc/init.d + $(INSTALL_BIN) ./files/ahcpd.init $(1)/etc/init.d/ahcpd endef $(eval $(call BuildPackage,ahcpd))