Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  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.0p1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 325ff8338c5a21f89d5304ac13ffebdf
  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_STYLE:= gnu
  18. CONFIGURE_ENV+= ac_cv_file__dev_random=yes
  19. BUILD_STYLE:= auto
  20. INSTALL_STYLE:= auto
  21. post-install:
  22. ${INSTALL_DIR} ${IDIR_DHCP_RELAY}/usr/sbin
  23. ${INSTALL_BIN} ${WRKINST}/usr/sbin/dhcrelay ${IDIR_DHCP_RELAY}/usr/sbin/
  24. ${INSTALL_DIR} ${IDIR_DHCP_SERVER}/usr/sbin
  25. ${INSTALL_BIN} ${WRKINST}/usr/sbin/dhcpd ${IDIR_DHCP_SERVER}/usr/sbin/
  26. include ${TOPDIR}/mk/pkg-bottom.mk