/[gentoo-x86]/net-proxy/torsocks/torsocks-2.0.0_rc2.ebuild
Gentoo

Contents of /net-proxy/torsocks/torsocks-2.0.0_rc2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Sep 17 19:12:35 2013 UTC (9 months, 3 weeks ago) by blueness
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
Keyword ~arm

(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-proxy/torsocks/torsocks-2.0.0_rc2.ebuild,v 1.1 2013/09/17 18:22:23 blueness Exp $
4
5 EAPI="5"
6
7 inherit autotools eutils multilib versionator
8
9 MY_PV="$(replace_version_separator 3 -)"
10 MY_PF="${PN}-${MY_PV}"
11 S="${WORKDIR}/${MY_PF}"
12
13 DESCRIPTION="Use most socks-friendly applications with Tor."
14 HOMEPAGE="http://github.com/dgoulet/torsocks"
15 SRC_URI="https://github.com/dgoulet/torsocks/archive/v${MY_PV}.tar.gz -> ${MY_PF}.tar.gz"
16
17 LICENSE="GPL-2"
18 SLOT="0"
19 KEYWORDS="~amd64 ~arm ~x86"
20 IUSE="static-libs"
21
22 # We do not depend on tor which might be running on a different box
23 DEPEND=""
24 RDEPEND="${DEPEND}"
25
26 src_prepare() {
27 epatch "${FILESDIR}"/fix-docdir-r2.patch
28 eautoreconf
29 }
30
31 src_configure() {
32 econf $(use_enable static-libs static)
33 }
34
35 src_install() {
36 default
37
38 dodoc ChangeLog README TODO doc/notes/DEBUG doc/socks/{SOCKS5,socks-extensions.txt}
39
40 #Remove libtool .la files
41 cd "${D}"/usr/$(get_libdir)/torsocks
42 rm -f *.la
43 }

  ViewVC Help
Powered by ViewVC 1.1.20