2 # Copyright (C) 2007-2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://www.pps.univ-paris-diderot.fr/~jch/software/files/
16 PKG_MD5SUM:=a1a610bf20965aa522cd766bf3d5829a
19 include $(INCLUDE_DIR)/package.mk
24 TITLE:=Ad-Hoc Configuration Protocol daemon
25 URL:=http://www.pps.univ-paris-diderot.fr/~jch/software/ahcp/
26 MAINTAINER:=Gabriel Kerneis <kerneis@pps.univ-paris-diderot.fr>
27 DEPENDS:=+kmod-ipv6 +ip +librt
30 define Package/ahcpd/description
31 Ahcpd is a daemon for configuring an IPv6 network using the Ad-Hoc
32 Configuration Protocol (AHCP). AHCP is designed for wireless mesh
33 networks, where IPv6 autoconfiguration and DHCPv6 do not work, but may
34 also be used on wired networks.
37 define Package/ahcpd/conffiles
41 define Package/ahcpd/install
42 $(INSTALL_DIR) $(1)/usr/bin
43 $(INSTALL_DIR) $(1)/etc/ahcp
44 $(INSTALL_BIN) $(PKG_BUILD_DIR)/ahcp-config.sh $(1)/etc/ahcp/
45 $(INSTALL_DIR) $(1)/usr/sbin
46 $(INSTALL_BIN) $(PKG_BUILD_DIR)/ahcpd $(1)/usr/sbin/
47 $(INSTALL_DIR) $(1)/etc/config
48 $(INSTALL_CONF) ./files/ahcpd.config $(1)/etc/config/ahcpd
49 $(INSTALL_DIR) $(1)/etc/init.d
50 $(INSTALL_BIN) ./files/ahcpd.init $(1)/etc/init.d/ahcpd
53 $(eval $(call BuildPackage,ahcpd))