From 1a25210690d4b53fa95e3c9ff288af9f1f71a4ce Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 12 Nov 2017 14:51:02 +0100 Subject: [PATCH] dhcpcd: add new package --- package/dhcpcd/Makefile | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 package/dhcpcd/Makefile 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 -- 2.11.4.GIT