Makefile 930 B

12345678910111213141516171819202122232425262728293031
  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. MASTER_SITES:= http://thekelleys.org.uk/dnsmasq/
  11. include ${TOPDIR}/mk/package.mk
  12. $(eval $(call PKG_template,DNSMASQ,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE}))
  13. BUILD_STYLE:= auto
  14. INSTALL_STYLE= manual
  15. MAKE_FLAGS+= BINDIR=/usr/sbin MANDIR=/usr/man COPTS="${TCFLAGS}"
  16. ifneq ($(ADK_IPV6),y)
  17. MAKE_FLAGS+= COPTS="${TCFLAGS} -DNO_IPV6"
  18. endif
  19. do-install:
  20. ${INSTALL_DIR} ${IDIR_DNSMASQ}/{etc/init.d,usr/sbin}
  21. ${INSTALL_BIN} ${WRKBUILD}/src/dnsmasq ${IDIR_DNSMASQ}/usr/sbin/
  22. ${INSTALL_DATA} files/dnsmasq.conf ${IDIR_DNSMASQ}/etc/dnsmasq.conf
  23. ${INSTALL_BIN} files/dnsmasq.init ${IDIR_DNSMASQ}/etc/init.d/dnsmasq
  24. include ${TOPDIR}/mk/pkg-bottom.mk