/[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.4 - (show annotations) (download)
Sun Aug 10 20:35:52 2014 UTC (2 weeks, 3 days ago) by slyfox
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +3 -3 lines
QA: drop trailing '.' from DESCRIPTION

(Portage version: 2.2.11_p9/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-proxy/torsocks/torsocks-1.2-r2.ebuild,v 1.3 2012/03/24 17:29:36 phajdan.jr Exp $
4
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 KEYWORDS="amd64 x86"
16 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