1
0

Makefile 967 B

123456789101112131415161718192021222324252627282930
  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-forwarder
  5. PKG_VERSION:= 0.9
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 63630db269ac17523ad085b67277b1c3
  8. PKG_DESCR:= DHCP relay agent
  9. PKG_SECTION:= dhcp
  10. PKG_URL:= http://www.nongnu.org/dhcp-fwd/
  11. PKG_SITES:= http://savannah.nongnu.org/download/dhcp-fwd/
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,DHCP_FORWARDER,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. CONFIGURE_ARGS+= --disable-dietlibc
  15. XAKE_FLAGS+= cfg_filename="/etc/dhcp-fwd.conf"
  16. post-install:
  17. ${INSTALL_DIR} ${IDIR_DHCP_FORWARDER}/usr/sbin \
  18. ${IDIR_DHCP_FORWARDER}/etc
  19. ${INSTALL_DATA} ${WRKBUILD}/contrib/dhcp-fwd.conf \
  20. ${IDIR_DHCP_FORWARDER}/etc
  21. ${INSTALL_BIN} ${WRKINST}/usr/sbin/dhcp-fwd \
  22. ${IDIR_DHCP_FORWARDER}/usr/sbin
  23. include ${TOPDIR}/mk/pkg-bottom.mk