Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233
  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:= 1
  7. PKG_MD5SUM:= 38a74c89d8913b9b5f33737047623c18
  8. PKG_DESCR:= ISC DHCP server
  9. PKG_SECTION:= net
  10. PKG_URL:= https://www.isc.org/software/dhcp
  11. PKG_SITES:= ftp://ftp.isc.org/isc/dhcp/
  12. PKG_DESCR_RELAY:= ISC DHCP relay server
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,DHCP_SERVER,dhcp-server,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. $(eval $(call PKG_template,DHCP_RELAY,dhcp-relay,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_RELAY},${PKG_SECTION}))
  16. #TCFLAGS+= -D_GNU_SOURCE
  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_BIN} ${WRKINST}/usr/sbin/dhcpd \
  24. ${IDIR_DHCP_SERVER}/usr/sbin/
  25. include ${TOPDIR}/mk/pkg-bottom.mk