summaryrefslogtreecommitdiff
path: root/package/polipo/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-07-29 17:16:55 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-07-29 17:16:55 +0200
commitba085778e938595ea0807c4f51818df144fd0d92 (patch)
treec90cd94749a7ba5ed0ab8fed627ffa6bcea28a71 /package/polipo/Makefile
parent8961e6674ce327d3a75d05da815a5dfd2f853d11 (diff)
add small http proxy, can be used in combination with tor for non-sockify apps like dillo
Diffstat (limited to 'package/polipo/Makefile')
-rw-r--r--package/polipo/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/polipo/Makefile b/package/polipo/Makefile
new file mode 100644
index 000000000..7ab1e8e91
--- /dev/null
+++ b/package/polipo/Makefile
@@ -0,0 +1,30 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= polipo
+PKG_VERSION:= 1.0.4.1
+PKG_RELEASE:= 1
+PKG_MD5SUM:= bfc5c85289519658280e093a270d6703
+PKG_DESCR:= HTTP 1.1 proxy with Socks5 support
+PKG_SECTION:= proxy
+PKG_URL:= http://www.pps.univ-paris-diderot.fr/~jch/software/polipo/
+PKG_SITES:= http://freehaven.net/~chrisd/polipo/
+
+include $(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 ${TOPDIR}/mk/pkg-bottom.mk