Makefile 1.4 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 ${TOPDIR}/rules.mk
  4. PKG_NAME:= privoxy
  5. PKG_VERSION:= 3.0.15
  6. PKG_RELEASE:= 1
  7. PKG_VARIANT:= beta
  8. PKG_MD5SUM:= 6571dc9524e945e79c2af62fefe7b107
  9. PKG_DESCR:= web proxy with advanced filtering capabilities
  10. PKG_SECTION:= net
  11. PKG_DEPENDS:= libpthread libpcre
  12. PKG_BUILDDEP+= pcre
  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. # uClibc setpgrp does not take arguments
  25. CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes \
  26. ac_cv_lib_nsl_gethostbyname=no
  27. BUILD_STYLE:= auto
  28. MAKE_FLAGS+= SPECIAL_CFLAGS='${TLDFLAGS}'
  29. MAKE_FILE:= GNUmakefile
  30. INSTALL_STYLE:= auto
  31. post-install:
  32. ${INSTALL_DIR} ${IDIR_PRIVOXY}/usr/sbin ${IDIR_PRIVOXY}/etc/privoxy
  33. ${CP} ${WRKINST}/etc/privoxy/* ${IDIR_PRIVOXY}/etc/privoxy
  34. ${INSTALL_BIN} ${WRKINST}/usr/sbin/privoxy ${IDIR_PRIVOXY}/usr/sbin/
  35. include ${TOPDIR}/mk/pkg-bottom.mk