[curl]: enable compile against axTLS and CyaSSL
[packages.git] / ipv6 / ahcpd / Makefile
1
2 # Copyright (C) 2007-2011 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=ahcpd
11 PKG_VERSION:=0.53
12 PKG_RELEASE:=2
13
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
17
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/ahcpd
22   SECTION:=net
23   CATEGORY:=Network
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
28 endef
29
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.
35 endef
36
37 define Package/ahcpd/conffiles
38 /etc/config/ahcpd
39 endef
40
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
51 endef
52
53 $(eval $(call BuildPackage,ahcpd))