Makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  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:= tinyproxy
  5. PKG_VERSION:= 1.8.3
  6. PKG_RELEASE:= 2
  7. PKG_HASH:= 682416c8f0f733a8106c87bb395c631222569751fe4617bc381d0499b0f0c017
  8. PKG_DESCR:= lightweight http and https proxy
  9. PKG_SECTION:= net/proxy
  10. PKG_URL:= https://www.banu.com/tinyproxy/
  11. PKG_SITES:= https://www.banu.com/pub/tinyproxy/1.8/
  12. DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
  13. include $(ADK_TOPDIR)/mk/package.mk
  14. $(eval $(call PKG_template,TINYPROXY,tinyproxy,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
  15. AUTOTOOL_STYLE:= autoreconf
  16. CONFIGURE_ARGS+= --disable-regexcheck
  17. CONFIGURE_ENV+= ac_cv_func_malloc_0_nonnull=yes \
  18. ac_cv_func_realloc_0_nonnull=yes
  19. tinyproxy-install:
  20. $(INSTALL_DIR) $(IDIR_TINYPROXY)/usr/sbin
  21. $(INSTALL_DIR) $(IDIR_TINYPROXY)/etc/tinyproxy
  22. $(INSTALL_DIR) $(IDIR_TINYPROXY)/usr/share/tinyproxy
  23. $(INSTALL_DATA) ./files/tinyproxy.conf \
  24. $(IDIR_TINYPROXY)/etc/tinyproxy
  25. $(INSTALL_BIN) $(WRKINST)/usr/sbin/tinyproxy \
  26. $(IDIR_TINYPROXY)/usr/sbin/
  27. $(INSTALL_DATA) $(WRKINST)/usr/share/tinyproxy/{default,stats,debug}.html \
  28. $(IDIR_TINYPROXY)/usr/share/tinyproxy/
  29. include $(ADK_TOPDIR)/mk/pkg-bottom.mk