/[gentoo-x86]/net-proxy/torsocks/torsocks-1.2-r2.ebuild
Gentoo

Contents of /net-proxy/torsocks/torsocks-1.2-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Sat Mar 24 17:29:36 2012 UTC (2 years, 5 months ago) by phajdan.jr
Branch: MAIN
Changes since 1.2: +2 -2 lines
x86 stable wrt bug #395215

(Portage version: 2.1.10.49/cvs/Linux i686)

1 blueness 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 phajdan.jr 1.3 # $Header: /var/cvsroot/gentoo-x86/net-proxy/torsocks/torsocks-1.2-r2.ebuild,v 1.2 2012/03/24 11:56:23 ago Exp $
4 blueness 1.1
5     EAPI="4"
6    
7     inherit autotools eutils multilib
8    
9     DESCRIPTION="Use most socks-friendly applications with Tor."
10     HOMEPAGE="http://code.google.com/p/torsocks"
11     SRC_URI="http://${PN}.googlecode.com/files/${PN}-1.2.tar.gz"
12    
13     LICENSE="GPL-2"
14     SLOT="0"
15 phajdan.jr 1.3 KEYWORDS="amd64 x86"
16 blueness 1.1 IUSE="static-libs"
17    
18     # We do not depend on tor which might be running on a different box
19     DEPEND=""
20     RDEPEND="${DEPEND}"
21    
22     src_prepare() {
23     epatch "${FILESDIR}"/suppress-warning-msgs.patch
24     epatch "${FILESDIR}"/fix-docdir.patch
25     eautoreconf
26     }
27    
28     src_configure() {
29     econf --docdir=/usr/share/doc/${PF} \
30     $(use_enable static-libs static)
31     }
32    
33     src_install() {
34     emake DESTDIR="${D}" install
35    
36     dodoc README TODO INSTALL ChangeLog
37    
38     #Remove libtool .la files
39     cd "${D}"/usr/$(get_libdir)/torsocks
40     rm -f *.la
41     }

  ViewVC Help
Powered by ViewVC 1.1.20