/[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.1 - (hide annotations) (download)
Thu Mar 8 18:41:25 2012 UTC (2 years, 9 months ago) by blueness
Branch: MAIN
Patch to suppress warning messages about symbols not found in shared library

(Portage version: 2.1.10.44/cvs/Linux x86_64)

1 blueness 1.1 # Copyright 1999-2012 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-r1.ebuild,v 1.2 2011/12/27 01:53:51 blueness 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