Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= dnsmasq
  5. PKG_VERSION:= 2.78
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 89949f438c74b0c7543f06689c319484bd126cc4b1f8c745c742ab397681252b
  8. PKG_DESCR:= lightweight dns, dhcp and tftp server
  9. PKG_SECTION:= net/dns
  10. PKG_URL:= http://thekelleys.org.uk/dnsmasq/
  11. PKG_SITES:= http://thekelleys.org.uk/dnsmasq/
  12. PKG_NOPARALLEL:= 1
  13. PKG_FLAVOURS_DNSMASQ:= PXE
  14. PKGFD_PXE:= enable pxe network boot
  15. PKGFS_PXE:= pxelinux
  16. PKGFB_PXE:= syslinux
  17. include ${ADK_TOPDIR}/mk/host.mk
  18. include ${ADK_TOPDIR}/mk/package.mk
  19. $(eval $(call HOST_template,DNSMASQ,dnsmasq,${PKG_VERSION}-${PKG_RELEASE}))
  20. $(eval $(call PKG_template,DNSMASQ,dnsmasq,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  21. HOST_STYLE:= manual
  22. CONFIG_STYLE:= manual
  23. host-build:
  24. cd ${WRKBUILD} && make
  25. dnsmasq-hostinstall:
  26. (cd $(WRKBUILD); make PREFIX=${STAGING_HOST_DIR}/usr install)
  27. dnsmasq-install:
  28. ${INSTALL_DIR} ${IDIR_DNSMASQ}/usr/sbin ${IDIR_DNSMASQ}/etc
  29. ${INSTALL_BIN} ${WRKINST}/usr/sbin/dnsmasq ${IDIR_DNSMASQ}/usr/sbin
  30. ${INSTALL_DATA} ./files/dnsmasq.conf ${IDIR_DNSMASQ}/etc/dnsmasq.conf
  31. include ${ADK_TOPDIR}/mk/host-bottom.mk
  32. include ${ADK_TOPDIR}/mk/pkg-bottom.mk