Makefile 1018 B

1234567891011121314151617181920212223242526272829303132
  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. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,DHCP_FORWARDER,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIGURE_ARGS+= --disable-dietlibc
  16. XAKE_FLAGS+= cfg_filename="/etc/dhcp-fwd.conf"
  17. post-install:
  18. ${INSTALL_DIR} ${IDIR_DHCP_FORWARDER}/usr/sbin \
  19. ${IDIR_DHCP_FORWARDER}/etc
  20. ${INSTALL_DATA} ${WRKBUILD}/contrib/dhcp-fwd.conf \
  21. ${IDIR_DHCP_FORWARDER}/etc/
  22. ${INSTALL_BIN} ${WRKINST}/usr/sbin/dhcp-fwd \
  23. ${IDIR_DHCP_FORWARDER}/usr/sbin/
  24. include ${TOPDIR}/mk/pkg-bottom.mk