Makefile 1.4 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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= privoxy
  5. PKG_VERSION:= 3.0.19
  6. PKG_RELEASE:= 1
  7. PKG_VARIANT:= stable
  8. PKG_HASH:= 816e627b31caa3d9e71d0a8b83ac9ea7dcbeaaafef3c9a9c792696aa56255232
  9. PKG_DESCR:= web proxy with advanced filtering capabilities
  10. PKG_SECTION:= net/proxy
  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 ${ADK_TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,PRIVOXY,privoxy,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. TARGET_CPPFLAGS+= -DFEATURE_CONNECTION_KEEP_ALIVE
  20. TARGET_LDFLAGS+= -pthread
  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. MAKE_FLAGS+= SPECIAL_CFLAGS='${TARGET_LDFLAGS}'
  28. MAKE_FILE:= GNUmakefile
  29. privoxy-install:
  30. ${INSTALL_DIR} ${IDIR_PRIVOXY}/usr/sbin ${IDIR_PRIVOXY}/etc/privoxy
  31. ${CP} ${WRKINST}/etc/privoxy/* ${IDIR_PRIVOXY}/etc/privoxy
  32. ${INSTALL_BIN} ${WRKINST}/usr/sbin/privoxy ${IDIR_PRIVOXY}/usr/sbin/
  33. include ${ADK_TOPDIR}/mk/pkg-bottom.mk