Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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:= privoxy
  5. PKG_VERSION:= 3.0.12
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= c973e608d27b248ef567b47664308da1
  8. PKG_DESCR:= web proxy with advanced filtering capabilities
  9. PKG_SECTION:= net
  10. PKG_DEPENDS:= libpthread
  11. PKG_URL:= http://www.privoxy.org
  12. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=ijbswa/}
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-stable-src.tar.gz
  14. WRKDIST= ${WRKDIR}/${PKG_NAME}-${PKG_VERSION}-stable
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,PRIVOXY,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. TLDFLAGS+= -pthread
  18. CONFIGURE_STYLE:= gnu
  19. CONFIGURE_ENV+= ac_cv_func_setpgrp_void=no \
  20. ac_cv_lib_nsl_gethostbyname=no
  21. BUILD_STYLE:= auto
  22. MAKE_FLAGS+= SPECIAL_CFLAGS='${TLDFLAGS}'
  23. MAKE_FILE:= GNUmakefile
  24. INSTALL_STYLE:= auto
  25. post-extract:
  26. @find ${WRKBUILD} -name *.rej -delete
  27. post-install:
  28. ${INSTALL_DIR} ${IDIR_PRIVOXY}/usr/sbin
  29. ${INSTALL_BIN} ${WRKINST}/usr/sbin/privoxy ${IDIR_PRIVOXY}/usr/sbin/
  30. include ${TOPDIR}/mk/pkg-bottom.mk