Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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:= 1
  7. PKG_MD5SUM:= 114b3b21b09b43cbfcccdde726b84c12
  8. PKG_DESCR:= Proxy DNS server with permanent caching
  9. PKG_SECTION:= net
  10. PKG_DEPENDS:=
  11. PKG_URL:= http://www.phys.uu.nl/~rombouts/pdnsd.html
  12. PKG_SITES:= http://www.phys.uu.nl/~rombouts/pdnsd/releases/
  13. # if downloaded package is not ending with .tar.gz use following
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-par.tar.gz
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,PDNSD,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIGURE_STYLE:= gnu
  18. # use following to add ./configure options
  19. #CONFIGURE_ARGS+= --disable-foo
  20. # overwrite any configure variables
  21. #CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes
  22. BUILD_STYLE:= auto
  23. INSTALL_STYLE:= auto
  24. # please install all files and directories to the package dir
  25. post-install:
  26. $(INSTALL_DIR) $(IDIR_PDNSD)/usr/sbin
  27. $(INSTALL_BIN) $(WRKINST)/usr/sbin/pdnsd{,-ctl} $(IDIR_PDNSD)/usr/sbin/
  28. $(INSTALL_DIR) $(IDIR_PDNSD)/var/cache/pdnsd
  29. $(INSTALL_BIN) $(WRKINST)/var/cache/pdnsd/pdnsd.cache $(IDIR_PDNSD)/var/cache/pdnsd/
  30. include ${TOPDIR}/mk/pkg-bottom.mk