2 # Copyright (C) 2014 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_URL
:=ftp
://roy.marples.name
/pub
/dhcpcd \
15 http
://roy.marples.name
/downloads
/dhcpcd
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
17 PKG_HASH
:=36ad01619ee81ac3815467d0157c38a14f5db464371326e97f719be362d5ab9c
22 PKG_MAINTAINER
:=Roy Marples
<roy@marples.name
>
27 include $(INCLUDE_DIR
)/package.mk
32 TITLE
:=DHCPv4
/IPv4LL
/IPv6RS
/DHCPv6 quad stack client
33 URL
:=http
://roy.marples.name
/projects
/dhcpcd
36 define Package
/dhcpcd
/description
37 DHCPv4
, IPv6RS and DHCPv6 client with IPv4LL support
38 dhcpcd is a one stop network management daemon which includes
39 * RFC compliant DHCPv4 and DHCPv6 clients
40 * DHCPv6 Prefix Delegation support
41 * IPv4LL
(aka ZeroConf
) support
42 * ARP address conflict resolution
43 * Link carrier detection
44 * Wireless SSID profiles
48 CONFIGURE_ARGS
+= --prefix=/ --sbindir
=/sbin \
49 --libexecdir
=/lib
/dhcpcd
--dbdir
=/var
/dhcpcd
51 define Package
/dhcpcd
/install
52 $(INSTALL_DIR
) $(1)/sbin
$(1)/etc
$(1)/lib
/dhcpcd
/dhcpcd-hooks
53 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/sbin
/dhcpcd
$(1)/sbin
/
54 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/lib
/dhcpcd
/dhcpcd-run-hooks \
56 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/lib
/dhcpcd
/dhcpcd-hooks
/* \
57 $(1)/lib
/dhcpcd
/dhcpcd-hooks
/
58 $(INSTALL_DIR
) $(1)/etc
/init.d
59 $(INSTALL_BIN
) .
/files
/dhcpcd.init
$(1)/etc
/init.d
/dhcpcd
60 $(INSTALL_CONF
) $(PKG_INSTALL_DIR
)/etc
/dhcpcd.conf
$(1)/etc
/dhcpcd.conf
63 $(eval
$(call BuildPackage
,dhcpcd
))