Makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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:= 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 ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,PRIVOXY,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. TARGET_LDFLAGS+= -pthread
  20. CONFIGURE_ARGS+= --disable-editor \
  21. --disable-jar-files \
  22. --sysconfdir=/etc/privoxy
  23. # uClibc setpgrp does not take arguments
  24. CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes \
  25. ac_cv_lib_nsl_gethostbyname=no
  26. MAKE_FLAGS+= SPECIAL_CFLAGS='${TARGET_LDFLAGS}'
  27. MAKE_FILE:= GNUmakefile
  28. post-install:
  29. ${INSTALL_DIR} ${IDIR_PRIVOXY}/usr/sbin ${IDIR_PRIVOXY}/etc/privoxy
  30. ${CP} ${WRKINST}/etc/privoxy/* ${IDIR_PRIVOXY}/etc/privoxy
  31. ${INSTALL_BIN} ${WRKINST}/usr/sbin/privoxy ${IDIR_PRIVOXY}/usr/sbin/
  32. include ${TOPDIR}/mk/pkg-bottom.mk