Makefile 1007 B

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