source: packages/net/tinyproxy/Makefile @ 24048

Last change on this file since 24048 was 24048, checked in by jow, 5 years ago

[packages] tinyproxy: fix logfile option

  • Property copyright set to Copyright (C) 2006 OpenWrt.org
  • Property licence set to GPLv2
  • Property svn:eol-style set to native
File size: 1.2 KB
Line 
1#
2# Copyright (C) 2006-2010 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=tinyproxy
11PKG_VERSION:=1.8.2
12PKG_RELEASE:=2
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15PKG_SOURCE_URL:=http://www.banu.com/pub/tinyproxy/1.8/
16PKG_MD5SUM:=edc8502193cfed4974d6a770da173755
17
18PKG_INSTALL:=1
19
20include $(INCLUDE_DIR)/package.mk
21
22define Package/tinyproxy
23  SUBMENU:=Proxy Servers
24  SECTION:=net
25  CATEGORY:=Network
26  TITLE:=Tinyproxy is a lightweight HTTP and HTTPS proxy
27  URL:=http://tinyproxy.sourceforge.net/
28endef
29
30define Package/tinyproxy/conffiles
31/etc/config/tinyproxy
32endef
33
34CONFIGURE_ARGS+= \
35        --enable-filter \
36        --enable-transparent \
37        --disable-regexcheck \
38
39define Package/tinyproxy/install
40        $(INSTALL_DIR) $(1)/usr/sbin
41        $(CP) $(PKG_INSTALL_DIR)/usr/sbin/tinyproxy $(1)/usr/sbin/
42        $(INSTALL_DIR) $(1)/usr/share/tinyproxy
43        $(CP) $(PKG_INSTALL_DIR)/usr/share/tinyproxy/*.html $(1)/usr/share/tinyproxy/
44        $(INSTALL_DIR) $(1)/etc/config
45        $(INSTALL_CONF) ./files/tinyproxy.config $(1)/etc/config/tinyproxy
46        $(INSTALL_DIR) $(1)/etc/init.d
47        $(INSTALL_BIN) ./files/tinyproxy.init $(1)/etc/init.d/tinyproxy
48endef
49
50$(eval $(call BuildPackage,tinyproxy))
Note: See TracBrowser for help on using the repository browser.