Makefile 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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:= tinyproxy
  7. PKG_VERSION:= 1.6.4
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= 3157b9159a8d005f4248cf4d4d6c65e2
  10. MASTER_SITES:= https://www.banu.com/pub/tinyproxy/1.6/
  11. include ${TOPDIR}/mk/package.mk
  12. $(eval $(call PKG_template,TINYPROXY,tinyproxy,${PKG_VERSION}-${PKG_RELEASE}))
  13. CONFIGURE_STYLE:= gnu
  14. BUILD_STYLE:= auto
  15. INSTALL_STYLE:= auto
  16. CONFIGURE_ENV+= ac_cv_header_libintl_h=no
  17. ifeq (${ADK_COMPILE_TINYPROXY_WITH_TRANSPARENT_PROXY},y)
  18. CONFIGURE_ARGS+= --enable-transparent-proxy
  19. endif
  20. ifneq (${ADK_COMPILE_TINYPROXY_WITH_UPSTREAM},y)
  21. CONFIGURE_ARGS+= --disable-upstream
  22. endif
  23. ifneq (${ADK_COMPILE_TINYPROXY_WITH_FILTER},y)
  24. CONFIGURE_ARGS+= --disable-filter
  25. endif
  26. post-install:
  27. ${INSTALL_DIR} ${IDIR_TINYPROXY}/usr/sbin \
  28. ${IDIR_TINYPROXY}/etc/tinyproxy \
  29. ${IDIR_TINYPROXY}/etc/init.d \
  30. ${IDIR_TINYPROXY}/usr/share/tinyproxy
  31. ${INSTALL_BIN} ${WRKINST}/usr/sbin/tinyproxy ${IDIR_TINYPROXY}/usr/sbin/
  32. ${INSTALL_DATA} ${WRKINST}/usr/share/tinyproxy/{debug,default,stats}.html ${IDIR_TINYPROXY}/usr/share/tinyproxy/
  33. ${INSTALL_DATA} ${WRKINST}/usr/share/tinyproxy/HTML_VARIABLES ${IDIR_TINYPROXY}/usr/share/tinyproxy/
  34. ${INSTALL_DATA} ${WRKINST}/etc/tinyproxy/tinyproxy.conf ${IDIR_TINYPROXY}/etc/tinyproxy/
  35. ${INSTALL_BIN} files/${PKG_NAME}.init ${IDIR_TINYPROXY}/etc/init.d/${PKG_NAME}
  36. include ${TOPDIR}/mk/pkg-bottom.mk