summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2017-11-12 14:51:02 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-11-12 14:51:54 +0100
commit1a25210690d4b53fa95e3c9ff288af9f1f71a4ce (patch)
tree42f1c2c4e11df1258f99abb3cd6fadccd56ef4c8 /package
parentc09518ad39abfeb899813f60fe83cc8c8e34fcdd (diff)
dhcpcd: add new package
Diffstat (limited to 'package')
-rw-r--r--package/dhcpcd/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/package/dhcpcd/Makefile b/package/dhcpcd/Makefile
new file mode 100644
index 000000000..de6093723
--- /dev/null
+++ b/package/dhcpcd/Makefile
@@ -0,0 +1,33 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= dhcpcd
+PKG_VERSION:= 6.11.5
+PKG_RELEASE:= 1
+PKG_HASH:= 6f9674dc7e27e936cc787175404a6171618675ecfb6903ab9887b1b66a87d69e
+PKG_DESCR:= dhcp client
+PKG_SECTION:= net/dns
+PKG_URL:= https://roy.marples.name/projects/dhcpcd
+PKG_SITES:= https://roy.marples.name/downloads/dhcpcd/
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,DHCPCD,dhcpcd,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
+
+dhcpcd-install:
+ $(INSTALL_DIR) $(IDIR_DHCPCD)/etc
+ $(CP) $(WRKINST)/etc/dhcpcd.conf \
+ $(IDIR_DHCPCD)/etc
+ $(INSTALL_DIR) $(IDIR_DHCPCD)/usr/share/dhcpcd
+ $(CP) $(WRKINST)/usr/share/dhcpcd/* \
+ $(IDIR_DHCPCD)/usr/share/dhcpcd
+ $(INSTALL_DIR) $(IDIR_DHCPCD)/usr/libexec
+ $(CP) $(WRKINST)/usr/libexec/* \
+ $(IDIR_DHCPCD)/usr/libexec
+ $(INSTALL_DIR) $(IDIR_DHCPCD)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/dhcpcd \
+ $(IDIR_DHCPCD)/usr/bin
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk