| 1 | # Copyright 1999-2013 Gentoo Foundation |
1 | # Copyright 1999-2013 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/net-proxy/obfsproxy/obfsproxy-0.1.4.ebuild,v 1.3 2013/01/08 20:17:09 blueness Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/net-proxy/obfsproxy/obfsproxy-0.1.4.ebuild,v 1.4 2013/01/11 20:58:58 blueness Exp $ |
| 4 | |
4 | |
| 5 | EAPI="4" |
5 | EAPI="4" |
|
|
6 | |
|
|
7 | inherit toolchain-funcs |
| 6 | |
8 | |
| 7 | DESCRIPTION="A tor-compliant pluggable transports proxy to obfuscate tor traffic" |
9 | DESCRIPTION="A tor-compliant pluggable transports proxy to obfuscate tor traffic" |
| 8 | HOMEPAGE="https://www.torproject.org/projects/obfsproxy.html" |
10 | HOMEPAGE="https://www.torproject.org/projects/obfsproxy.html" |
| 9 | SRC_URI="https://archive.torproject.org/tor-package-archive/${PN}/${P}.tar.gz" |
11 | SRC_URI="https://archive.torproject.org/tor-package-archive/${PN}/${P}.tar.gz" |
| 10 | |
12 | |
| … | |
… | |
| 16 | DEPEND="dev-libs/openssl |
18 | DEPEND="dev-libs/openssl |
| 17 | >=dev-libs/libevent-2 |
19 | >=dev-libs/libevent-2 |
| 18 | >=net-misc/tor-0.2.3.12_alpha |
20 | >=net-misc/tor-0.2.3.12_alpha |
| 19 | sys-libs/zlib" |
21 | sys-libs/zlib" |
| 20 | RDEPEND="${DEPEND}" |
22 | RDEPEND="${DEPEND}" |
|
|
23 | |
|
|
24 | src_prepare() { |
|
|
25 | sed -i -e "s:^AR = ar:AR = $(tc-getAR):" Makefile.in |
|
|
26 | } |
| 21 | |
27 | |
| 22 | src_install() { |
28 | src_install() { |
| 23 | emake DESTDIR="${D}" install |
29 | emake DESTDIR="${D}" install |
| 24 | dodoc README ChangeLog |
30 | dodoc README ChangeLog |
| 25 | dodoc -r doc/* |
31 | dodoc -r doc/* |