Makefile 968 B

1234567891011121314151617181920212223242526272829303132333435
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= privoxy
  7. PKG_VERSION:= 3.0.12
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= c973e608d27b248ef567b47664308da1
  10. MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=ijbswa/}
  11. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-stable-src.tar.gz
  12. WRKDIST= ${WRKDIR}/${PKG_NAME}-${PKG_VERSION}-stable
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,PRIVOXY,privoxy,${PKG_VERSION}-${PKG_RELEASE}))
  15. TLDFLAGS+= -pthread
  16. CONFIGURE_STYLE:= gnu
  17. CONFIGURE_ENV+= ac_cv_func_setpgrp_void=no
  18. BUILD_STYLE:= auto
  19. MAKE_FLAGS+= SPECIAL_CFLAGS='${TLDFLAGS}'
  20. MAKE_FILE:= GNUmakefile
  21. INSTALL_STYLE:= auto
  22. post-extract:
  23. @find ${WRKBUILD} -name *.rej -delete
  24. post-install:
  25. ${INSTALL_DIR} ${IDIR_PRIVOXY}/usr/sbin
  26. ${INSTALL_BIN} ${WRKINST}/usr/sbin/privoxy ${IDIR_PRIVOXY}/usr/sbin/
  27. include ${TOPDIR}/mk/pkg-bottom.mk