cryptsetup: moved to github
[packages.git] / net / privoxy / Makefile
1 #
2 # Copyright (C) 2006-2013 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=privoxy
11 PKG_VERSION:=3.0.21
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-stable-src.tar.gz
15 PKG_SOURCE_URL:=@SF/ijbswa
16 PKG_MD5SUM:=79558f2545cfcf9731f7de611646d837
17
18 PKG_LICENSE:=GPLv2
19 PKG_LICENSE_FILES:=LICENSE
20
21 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)-stable
22 PKG_FIXUP:=autoreconf
23 PKG_INSTALL:=1
24
25 include $(INCLUDE_DIR)/package.mk
26
27 define Package/privoxy
28   SECTION:=net
29   CATEGORY:=Network
30   SUBMENU:=Web Servers/Proxies
31   DEPENDS:=+libpcre +libpthread +zlib
32   TITLE:=web proxy with advanced filtering capabilities
33   URL:=http://www.privoxy.org/
34 endef
35
36 define Package/privoxy/description
37         Privoxy is a web proxy with advanced filtering capabilities for
38         protecting privacy, modifying web page content, managing cookies,
39         controlling access, and removing ads, banners, pop-ups and other
40         obnoxious Internet junk. Privoxy has a very flexible configuration
41         and can be customized to suit individual needs and tastes. Privoxy
42         has application for both stand-alone systems and multi-user networks.
43 endef
44
45 CONFIGURE_ARGS += \
46         --sysconfdir=/etc/privoxy \
47
48 MAKE_FLAGS :=
49
50 define Package/privoxy/conffiles
51 /etc/privoxy/config
52 endef
53
54 define Package/privoxy/install
55         $(INSTALL_DIR) $(1)/usr/sbin
56         $(CP) $(PKG_INSTALL_DIR)/usr/sbin/privoxy $(1)/usr/sbin/
57         $(INSTALL_DIR) $(1)/etc/privoxy
58         $(CP) $(PKG_INSTALL_DIR)/etc/privoxy/* $(1)/etc/privoxy/
59         $(INSTALL_CONF) ./files/privoxy.config $(1)/etc/privoxy/config
60         $(INSTALL_DIR) $(1)/etc/init.d
61         $(INSTALL_BIN) ./files/privoxy.init $(1)/etc/init.d/privoxy
62 endef
63
64 $(eval $(call BuildPackage,privoxy))