Makefile 1017 B

123456789101112131415161718192021222324252627282930313233
  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:= dnsmasq
  7. PKG_VERSION:= 2.47
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= 4524081e56d0b935717d493e8e8d3e11
  10. PKG_DESCR:= A lightweight DNS and DHCP server
  11. PKG_SECTION:= net
  12. PKG_URL:= http://thekelleys.org.uk/dnsmasq
  13. PKG_SITES:= http://thekelleys.org.uk/dnsmasq/
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,DNSMASQ,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. BUILD_STYLE:= auto
  17. INSTALL_STYLE= manual
  18. MAKE_FLAGS+= BINDIR=/usr/sbin MANDIR=/usr/man COPTS="${TCFLAGS}"
  19. ifneq ($(ADK_IPV6),y)
  20. MAKE_FLAGS+= COPTS="${TCFLAGS} -DNO_IPV6"
  21. endif
  22. do-install:
  23. ${INSTALL_DIR} ${IDIR_DNSMASQ}/usr/sbin ${IDIR_DNSMASQ}/etc
  24. ${INSTALL_BIN} ${WRKBUILD}/src/dnsmasq ${IDIR_DNSMASQ}/usr/sbin/
  25. ${INSTALL_DATA} files/dnsmasq.conf ${IDIR_DNSMASQ}/etc/dnsmasq.conf
  26. include ${TOPDIR}/mk/pkg-bottom.mk