Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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:= net
  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_STYLE= gnu
  17. CONFIGURE_ARGS+= --disable-dietlibc
  18. BUILD_STYLE= auto
  19. INSTALL_STYLE= auto
  20. XAKE_FLAGS+= cfg_filename="/etc/dhcp-fwd.conf"
  21. post-install:
  22. ${INSTALL_DIR} ${IDIR_DHCP_FORWARDER}/usr/sbin ${IDIR_DHCP_FORWARDER}/etc
  23. ${INSTALL_DATA} ${WRKBUILD}/contrib/dhcp-fwd.conf \
  24. ${IDIR_DHCP_FORWARDER}/etc/
  25. ${INSTALL_BIN} ${WRKINST}/usr/sbin/dhcp-fwd \
  26. ${IDIR_DHCP_FORWARDER}/usr/sbin/
  27. include ${TOPDIR}/mk/pkg-bottom.mk