summaryrefslogtreecommitdiff
path: root/package/transproxy/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/transproxy/Makefile')
-rw-r--r--package/transproxy/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/package/transproxy/Makefile b/package/transproxy/Makefile
new file mode 100644
index 000000000..1fa705257
--- /dev/null
+++ b/package/transproxy/Makefile
@@ -0,0 +1,29 @@
+# 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:= transproxy
+PKG_VERSION:= 1.6
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 02cc1160a9db9c49a40491f890083044
+PKG_DESCR:= transparent HTTP proxy
+PKG_SECTION:= proxy
+PKG_DEPENDS:= iptables kmod-ip-nf-target-redirect
+PKG_URL:= http://sourceforge.net/projects/transproxy/
+PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=transproxy/1.6/}
+
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,TRANSPROXY,transproxy,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIG_STYLE:= manual
+
+transproxy-install:
+ $(INSTALL_DIR) $(IDIR_TRANSPROXY)/usr/sbin
+ $(INSTALL_BIN) $(WRKINST)/usr/sbin/tproxy* \
+ $(IDIR_TRANSPROXY)/usr/sbin
+
+include ${TOPDIR}/mk/pkg-bottom.mk