blob: 2f99015d21781b7e22e86844eab0bd29a694a7b7 (
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
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# /space/gentoo/cvsroot/gentoo-x86/skel.ebuild,v 1.5 2002/04/29 22:56:53 sandymac Exp
DESCRIPTION="lightweight HTTP/SSL proxy"
SRC_URI="mirror://sourceforge/tinyproxy/${P}.tar.gz"
HOMEPAGE="http://tinyproxy.sourceforge.net/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="socks5"
DEPEND="socks5? ( net-misc/dante )"
src_compile() {
local myconf="--enable-xtinyproxy --enable-filter --enable-tunnel --enable-upstream"
use socks5 \
&& myconf="${myconf} --enable-socks" \
|| myconf="${myconf} --disable-socks"
econf ${myconf}
emake || die "emake failed"
}
src_install() {
make DESTDIR=${D} install || die "install failed"
}
|