You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.4 KiB

  1. #
  2. # Copyright (C) 2006-2014 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=tinyproxy
  9. PKG_VERSION:=1.10.0
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  12. PKG_SOURCE_URL:=https://github.com/tinyproxy/tinyproxy/releases/download/$(PKG_VERSION)
  13. PKG_HASH:=59be87689c415ba0d9c9bc6babbdd3df3b372d60b21e526b118d722dbc995682
  14. PKG_MAINTAINER:=Jo-Philipp Wich <jo@mein.io>
  15. PKG_LICENSE:=GPL-2.0-or-later
  16. PKG_LICENSE_FILES:=COPYING
  17. PKG_CPE_ID:=cpe:/a:banu:tinyproxy
  18. PKG_INSTALL:=1
  19. PKG_BUILD_PARALLEL:=1
  20. include $(INCLUDE_DIR)/package.mk
  21. define Package/tinyproxy
  22. SUBMENU:=Web Servers/Proxies
  23. SECTION:=net
  24. CATEGORY:=Network
  25. TITLE:=Tinyproxy is a lightweight HTTP and HTTPS proxy
  26. URL:=https://tinyproxy.github.io/
  27. endef
  28. define Package/tinyproxy/conffiles
  29. /etc/config/tinyproxy
  30. endef
  31. CONFIGURE_VARS += ac_cv_path_A2X=no
  32. define Package/tinyproxy/install
  33. $(INSTALL_DIR) $(1)/usr/bin
  34. $(CP) $(PKG_INSTALL_DIR)/usr/bin/tinyproxy $(1)/usr/bin/
  35. $(INSTALL_DIR) $(1)/usr/share/tinyproxy
  36. $(CP) $(PKG_INSTALL_DIR)/usr/share/tinyproxy/*.html $(1)/usr/share/tinyproxy/
  37. $(INSTALL_DIR) $(1)/etc/config
  38. $(INSTALL_CONF) ./files/tinyproxy.config $(1)/etc/config/tinyproxy
  39. $(INSTALL_DIR) $(1)/etc/init.d
  40. $(INSTALL_BIN) ./files/tinyproxy.init $(1)/etc/init.d/tinyproxy
  41. endef
  42. $(eval $(call BuildPackage,tinyproxy))