summaryrefslogtreecommitdiff
path: root/package/polipo/Makefile
blob: d2daa954d4bce610c878487544f529eadcab59ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(ADK_TOPDIR)/rules.mk

PKG_NAME:=		polipo
PKG_VERSION:=		1.0.4.1
PKG_RELEASE:=		1
PKG_HASH:=		8d6fbfdec600d42823e483b0143704c6f179c349803028a4d2cef056b79f7cfa
PKG_DESCR:=		web proxy with socks5 support
PKG_SECTION:=		net/proxy
PKG_URL:=		http://www.pps.univ-paris-diderot.fr/~jch/software/polipo/
PKG_SITES:=		http://freehaven.net/~chrisd/polipo/

DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz

include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call PKG_template,POLIPO,polipo,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIG_STYLE=		manual
FAKE_FLAGS+=		TARGET=${WRKINST}

polipo-install:
	$(INSTALL_DIR) $(IDIR_POLIPO)/etc/polipo
	$(INSTALL_DATA) ./files/config \
		$(IDIR_POLIPO)/etc/polipo
	$(INSTALL_DIR) $(IDIR_POLIPO)/usr/bin
	$(INSTALL_BIN) $(WRKINST)/usr/local/bin/polipo \
		$(IDIR_POLIPO)/usr/bin

include ${ADK_TOPDIR}/mk/pkg-bottom.mk