[patchteam] Add wide-ipv6 packages, thanks Raphael
[openwrt.org/packages.git] / ipv6 / wide-dhcpv6 / Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#
# Copyright (C) 2006-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
 
include $(TOPDIR)/rules.mk
 
PKG_NAME:=wide-dhcpv6
PKG_VERSION:=20080615
PKG_RELEASE:=1
 
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/$(PKG_NAME)
PKG_MD5SUM:=1011e165850fe40d3e332dad2bfd30b3
 
include $(INCLUDE_DIR)/package.mk
 
define Package/wide-dhcpv6/Default
  SECTION:=ipv6
  CATEGORY:=IPv6
  TITLE:=IPv6 DHCPv6 implementaion for BSD and Linux
  URL:=http://wide-dhcpv6.sourceforge.net/
endef
 
define Package/wide-dhcpv6/description
WIDE-DHCPv6 is an open-source implementation of Dynamic Host Configuration
Protocol for IPv6 (DHCPv6) originally developed by the KAME project. The
implementation mainly conforms to the following standards: RFC3315,3319,3633,
3646,4075,4272,etc.
endef
 
define Package/wide-dhcpv6-client
        $(call Package/wide-dhcpv6/Default)
        TITLE+= client
endef
 
define Package/wide-dhcpv6-server
        $(call Package/wide-dhcpv6/Default)
        TITLE+= server
endef
 
define Package/wide-dhcpv6-relay
        $(call Package/wide-dhcpv6/Default)
        TITLE+= relay
endef
 
define Package/wide-dhcpv6-ctl
        $(call Package/wide-dhcpv6/Default)
        TITLE+= ctl
endef
 
define Package/wide-dhcpv6-client/install
        $(INSTALL_DIR) $(1)/sbin
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/dhcp6c $(1)/sbin
 
        $(INSTALL_DIR) $(1)/etc
        $(INSTALL_DATA) ./files/dhcp6c.config $(1)/etc/dhcp6c.conf
endef
 
$(eval $(call BuildPackage,wide-dhcpv6-client))
$(eval $(call BuildPackage,wide-dhcpv6-server))
$(eval $(call BuildPackage,wide-dhcpv6-relay))
$(eval $(call BuildPackage,wide-dhcpv6-ctl))
 
comments