Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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:= pdnsd
  5. PKG_VERSION:= 1.2.7
  6. PKG_RELEASE:= 3
  7. PKG_MD5SUM:= 114b3b21b09b43cbfcccdde726b84c12
  8. PKG_DESCR:= Proxy DNS server
  9. PKG_SECTION:= dns
  10. PKG_DEPENDS:= libpthread
  11. PKG_URL:= http://www.phys.uu.nl/~rombouts/pdnsd.html
  12. PKG_SITES:= http://www.phys.uu.nl/~rombouts/pdnsd/releases/
  13. PKG_FLAVOURS_PDNSD:= WITH_IPV6
  14. PKGFD_WITH_IPV6:= enable IPv6 support
  15. PKG_HOST_DEPENDS:= !netbsd
  16. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-par.tar.gz
  17. include $(TOPDIR)/mk/package.mk
  18. $(eval $(call PKG_template,PDNSD,pdnsd,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. CONFIGURE_ARGS+= --with-target=Linux
  20. ifneq (${ADK_PACKAGE_PDNSD_WITH_IPV6},)
  21. CONFIGURE_ARGS+= --enable-ipv6
  22. else
  23. CONFIGURE_ARGS+= --disable-ipv6
  24. endif
  25. pdnsd-install:
  26. $(INSTALL_DIR) $(IDIR_PDNSD)/etc
  27. ${INSTALL_DATA} ./files/pdnsd.conf ${IDIR_PDNSD}/etc/
  28. $(INSTALL_DIR) $(IDIR_PDNSD)/usr/sbin
  29. $(INSTALL_BIN) $(WRKINST)/usr/sbin/pdnsd{,-ctl} $(IDIR_PDNSD)/usr/sbin/
  30. include ${TOPDIR}/mk/pkg-bottom.mk