2 # Copyright (C) 2006-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://www.banu.com
/pub
/tinyproxy
/1.8/
16 PKG_MD5SUM
:=e1f0977592f020ef509262c24c3284fb
20 include $(INCLUDE_DIR
)/package.mk
22 define Package
/tinyproxy
23 SUBMENU
:=Proxy Servers
26 TITLE
:=Tinyproxy is a lightweight HTTP and HTTPS proxy
27 URL
:=http
://tinyproxy.sourceforge.net
/
30 define Package
/tinyproxy
/conffiles
36 --enable-transparent \
37 --disable-regexcheck \
39 define 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
50 $(eval
$(call BuildPackage
,tinyproxy
))