summaryrefslogtreecommitdiff
path: root/package/transproxy/Makefile
blob: 1fa7052578f0d33e2359488b015aac143f52e901 (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
# 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