diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2013-09-17 18:22:24 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2013-09-17 18:22:24 +0000 |
commit | b0c797b7994056f8dbd45a6f611c9e729c0f83fc (patch) | |
tree | 3023ab6e81b1f908a85e902bae674c345c1dc7b3 /net-proxy/torsocks/torsocks-2.0.0_rc2.ebuild | |
parent | new testtools (diff) | |
download | gentoo-2-b0c797b7994056f8dbd45a6f611c9e729c0f83fc.tar.gz gentoo-2-b0c797b7994056f8dbd45a6f611c9e729c0f83fc.tar.bz2 gentoo-2-b0c797b7994056f8dbd45a6f611c9e729c0f83fc.zip |
Version bump, bug #485174
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
Diffstat (limited to 'net-proxy/torsocks/torsocks-2.0.0_rc2.ebuild')
-rw-r--r-- | net-proxy/torsocks/torsocks-2.0.0_rc2.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/net-proxy/torsocks/torsocks-2.0.0_rc2.ebuild b/net-proxy/torsocks/torsocks-2.0.0_rc2.ebuild new file mode 100644 index 000000000000..f539abbf146d --- /dev/null +++ b/net-proxy/torsocks/torsocks-2.0.0_rc2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $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 $ + +EAPI="5" + +inherit autotools eutils multilib versionator + +MY_PV="$(replace_version_separator 3 -)" +MY_PF="${PN}-${MY_PV}" +S="${WORKDIR}/${MY_PF}" + +DESCRIPTION="Use most socks-friendly applications with Tor." +HOMEPAGE="http://github.com/dgoulet/torsocks" +SRC_URI="https://github.com/dgoulet/torsocks/archive/v${MY_PV}.tar.gz -> ${MY_PF}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="static-libs" + +# We do not depend on tor which might be running on a different box +DEPEND="" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/fix-docdir-r2.patch + eautoreconf +} + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + + dodoc ChangeLog README TODO doc/notes/DEBUG doc/socks/{SOCKS5,socks-extensions.txt} + + #Remove libtool .la files + cd "${D}"/usr/$(get_libdir)/torsocks + rm -f *.la +} |