1
0

Makefile 1.0 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-forwarder
  5. PKG_VERSION:= 0.8
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= fb3670dee9f71af1e55ac5dcd64e213e
  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. http://ftp.cc.uoc.gr/mirrors/nongnu.org/dhcp-fwd/
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,DHCP_FORWARDER,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_ARGS+= --disable-dietlibc
  17. XAKE_FLAGS+= cfg_filename="/etc/dhcp-fwd.conf"
  18. post-install:
  19. ${INSTALL_DIR} ${IDIR_DHCP_FORWARDER}/usr/sbin \
  20. ${IDIR_DHCP_FORWARDER}/etc
  21. ${INSTALL_DATA} ${WRKBUILD}/contrib/dhcp-fwd.conf \
  22. ${IDIR_DHCP_FORWARDER}/etc/
  23. ${INSTALL_BIN} ${WRKINST}/usr/sbin/dhcp-fwd \
  24. ${IDIR_DHCP_FORWARDER}/usr/sbin/
  25. include ${TOPDIR}/mk/pkg-bottom.mk