Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= dhcp
  5. PKG_VERSION:= 4.1.1
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 38a74c89d8913b9b5f33737047623c18
  8. PKG_DESCR:= ISC DHCP server
  9. PKG_SECTION:= dhcp
  10. PKG_URL:= https://www.isc.org/software/dhcp/
  11. PKG_SITES:= ftp://ftp.isc.org/isc/dhcp/
  12. PKG_SUBPKGS:= DHCP_SERVER DHCP_RELAY
  13. PKGSD_DHCP_RELAY:= ISC DHCP relay server
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,DHCP_SERVER,dhcp-server,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. $(eval $(call PKG_template,DHCP_RELAY,dhcp-relay,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_DHCP_RELAY},${PKG_SECTION}))
  17. CONFIGURE_ENV+= ac_cv_file__dev_random=yes
  18. post-install:
  19. ${INSTALL_DIR} ${IDIR_DHCP_RELAY}/usr/sbin
  20. ${INSTALL_BIN} ${WRKINST}/usr/sbin/dhcrelay \
  21. ${IDIR_DHCP_RELAY}/usr/sbin/
  22. ${INSTALL_DIR} ${IDIR_DHCP_SERVER}/usr/sbin
  23. ${INSTALL_DIR} ${IDIR_DHCP_SERVER}/etc
  24. ${INSTALL_DATA} ./files/dhcpd.conf ${IDIR_DHCP_SERVER}/etc
  25. ${INSTALL_BIN} ${WRKINST}/usr/sbin/dhcpd \
  26. ${IDIR_DHCP_SERVER}/usr/sbin/
  27. include ${TOPDIR}/mk/pkg-bottom.mk