source: packages/ipv6/polipo/Makefile @ 9012

Last change on this file since 9012 was 9012, checked in by florian, 9 years ago

Do not depend on kmod-ipv6 (#2423)

File size: 1.3 KB
Line 
1#
2# Copyright (C) 2007 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7# $Id: Makefile 8594 2007-09-03 14:13:19Z nico $
8
9include $(TOPDIR)/rules.mk
10
11PKG_NAME:=polipo
12PKG_VERSION:=1.0.2
13PKG_RELEASE:=1
14
15PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16PKG_SOURCE_URL:=http://www.pps.jussieu.fr/~jch/software/files/$(PKG_NAME)/
17PKG_MD5SUM:=2d1d8af414429e5823675a781604c70a
18
19include $(INCLUDE_DIR)/package.mk
20
21define Package/polipo
22  SECTION:=ipv6
23  CATEGORY:=IPv6
24  TITLE:=a caching web proxy
25  URL:=http://www.pps.jussieu.fr/~jch/software/polipo/
26endef
27
28define Package/polipo/description
29  Polipo is a small and fast caching web proxy (a web cache, an HTTP proxy, a proxy server).
30  While Polipo was designed to be used by one person or a small group of people, there is
31  nothing that prevents it from being used by a larger group.
32endef
33
34define Build/Compile
35        $(MAKE) -C $(PKG_BUILD_DIR) \
36                CC="$(TARGET_CC)" \
37                CFLAGS="$(TARGET_CFLAGS)" \
38                polipo
39endef
40
41define Package/polipo/conffiles
42/etc/polipo/polipo.conf
43endef
44
45define Package/polipo/install
46        $(INSTALL_DIR) $(1)/usr/sbin
47        $(INSTALL_BIN) $(PKG_BUILD_DIR)/polipo $(1)/usr/sbin/
48        $(INSTALL_DIR) $(1)/etc/polipo
49        $(INSTALL_CONF) $(PKG_BUILD_DIR)/config.sample $(1)/etc/polipo/polipo.conf
50endef
51
52$(eval $(call BuildPackage,polipo))
Note: See TracBrowser for help on using the repository browser.