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 ${TOPDIR}/rules.mk
  4. PKG_NAME:= privoxy
  5. PKG_VERSION:= 3.0.15
  6. PKG_RELEASE:= 1
  7. PKG_BUILDDEP+= pcre
  8. PKG_VARIANT:= beta
  9. PKG_MD5SUM:= 6571dc9524e945e79c2af62fefe7b107
  10. PKG_DESCR:= web proxy with advanced filtering capabilities
  11. PKG_SECTION:= net
  12. PKG_DEPENDS:= libpthread
  13. PKG_URL:= http://www.privoxy.org
  14. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=ijbswa/}
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-${PKG_VARIANT}-src.tar.gz
  16. WRKDIST= ${WRKDIR}/${PKG_NAME}-${PKG_VERSION}-${PKG_VARIANT}
  17. include ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,PRIVOXY,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. TLDFLAGS+= -pthread
  20. CONFIGURE_STYLE:= gnu
  21. CONFIGURE_ARGS+= --disable-editor \
  22. --disable-jar-files \
  23. --sysconfdir=/etc/privoxy
  24. CONFIGURE_ENV+= ac_cv_func_setpgrp_void=no \
  25. ac_cv_lib_nsl_gethostbyname=no
  26. BUILD_STYLE:= auto
  27. MAKE_FLAGS+= SPECIAL_CFLAGS='${TLDFLAGS}'
  28. MAKE_FILE:= GNUmakefile
  29. INSTALL_STYLE:= auto
  30. post-install:
  31. ${INSTALL_DIR} ${IDIR_PRIVOXY}/usr/sbin ${IDIR_PRIVOXY}/etc/privoxy
  32. ${CP} ${WRKINST}/etc/privoxy/* ${IDIR_PRIVOXY}/etc/privoxy
  33. ${INSTALL_BIN} ${WRKINST}/usr/sbin/privoxy ${IDIR_PRIVOXY}/usr/sbin/
  34. include ${TOPDIR}/mk/pkg-bottom.mk