Makefile 1.3 KB

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