Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= dhcp-forwarder
  7. PKG_VERSION:= 0.7
  8. PKG_RELEASE:= 12
  9. PKG_MD5SUM:= e7f876e615ebc3f96418f6477b4451e2
  10. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  11. MASTER_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}))
  14. CONFIGURE_STYLE= gnu
  15. CONFIGURE_ENV+= ac_cv_func_malloc_0_nonnull="yes"
  16. CONFIGURE_ARGS+= --disable-dietlibc
  17. BUILD_STYLE= auto
  18. INSTALL_STYLE= auto
  19. XAKE_FLAGS+= cfg_filename="/etc/dhcp-fwd.conf"
  20. post-install:
  21. ${INSTALL_DIR} ${IDIR_DHCP_FORWARDER}/etc/init.d
  22. ${INSTALL_DIR} ${IDIR_DHCP_FORWARDER}/usr/sbin
  23. ${INSTALL_DATA} ${WRKBUILD}/contrib/dhcp-fwd.conf \
  24. ${IDIR_DHCP_FORWARDER}/etc/
  25. ${INSTALL_BIN} ./files/dhcp-fwd.init \
  26. ${IDIR_DHCP_FORWARDER}/etc/init.d/dhcp-fwd
  27. ${INSTALL_BIN} ${WRKINST}/usr/sbin/dhcp-fwd \
  28. ${IDIR_DHCP_FORWARDER}/usr/sbin/
  29. include ${TOPDIR}/mk/pkg-bottom.mk