/[gentoo-x86]/www-proxy/tinyproxy/tinyproxy-1.6.2.ebuild
Gentoo

Contents of /www-proxy/tinyproxy/tinyproxy-1.6.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Fri Apr 22 19:47:01 2005 UTC (13 years, 3 months ago) by mrness
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Remove www-proxy category

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/www-proxy/tinyproxy/tinyproxy-1.6.2.ebuild,v 1.5 2005/02/16 22:34:37 mrness Exp $
4
5 DESCRIPTION="A lightweight HTTP/SSL proxy"
6 HOMEPAGE="http://tinyproxy.sourceforge.net/"
7 SRC_URI="mirror://sourceforge/tinyproxy/${P}.tar.gz"
8
9 LICENSE="GPL-2"
10 SLOT="0"
11 KEYWORDS="x86 ~sparc ppc"
12 IUSE="socks5 transparent-proxy debug"
13
14 DEPEND="socks5? ( net-misc/dante )"
15
16 src_compile() {
17 econf \
18 --enable-xtinyproxy \
19 --enable-filter \
20 --enable-tunnel \
21 --enable-upstream \
22 `use_enable transparent-proxy` \
23 `use_enable debug` \
24 `use_enable debug profiling` \
25 `use_enable socks5 socks` \
26 || die
27 emake || die "emake failed"
28 }
29
30 src_install() {
31 sed -i \
32 's:mkdir $(datadir)/tinyproxy:mkdir -p $(DESTDIR)$(datadir)/tinyproxy:' \
33 Makefile
34 make DESTDIR=${D} install || die "install failed"
35 dodoc AUTHORS ChangeLog NEWS README TODO
36 mv ${D}/usr/share/tinyproxy ${D}/usr/share/doc/${PF}/html
37 exeinto /etc/init.d ; newexe ${FILESDIR}/tinyproxy.rc tinyproxy
38 }

  ViewVC Help
Powered by ViewVC 1.1.20