summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2017-01-20 02:28:08 -0500
committerTim Harder <radhermit@gentoo.org>2017-01-20 02:29:58 -0500
commit58c4c02fb87e486ab09da55473a5318c05e55987 (patch)
tree473d25bb96a39c577ce039aa831a9898b149a11f /net-misc/proxychains/proxychains-4.12-r1.ebuild
parentdev-python/sphinx_celery: add package (diff)
downloadgentoo-58c4c02fb87e486ab09da55473a5318c05e55987.tar.gz
gentoo-58c4c02fb87e486ab09da55473a5318c05e55987.tar.bz2
gentoo-58c4c02fb87e486ab09da55473a5318c05e55987.zip
net-misc/proxychains: add missing linking libs
Diffstat (limited to 'net-misc/proxychains/proxychains-4.12-r1.ebuild')
-rw-r--r--net-misc/proxychains/proxychains-4.12-r1.ebuild49
1 files changed, 49 insertions, 0 deletions
diff --git a/net-misc/proxychains/proxychains-4.12-r1.ebuild b/net-misc/proxychains/proxychains-4.12-r1.ebuild
new file mode 100644
index 000000000000..642d8ebef4d3
--- /dev/null
+++ b/net-misc/proxychains/proxychains-4.12-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit toolchain-funcs multilib
+
+MY_PN=${PN}-ng
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="force any tcp connections to flow through a proxy (or proxy chain)"
+HOMEPAGE="https://github.com/rofl0r/proxychains-ng/"
+SRC_URI="https://github.com/rofl0r/${MY_PN}/releases/download/v${PV}/${MY_P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=( "${FILESDIR}"/${P}-makefile.patch )
+
+src_prepare() {
+ default
+ sed -i "s/^\(LDSO_SUFFIX\).*/\1 = so.${PV}/" Makefile || die
+ tc-export CC
+}
+
+src_configure() {
+ # not autotools
+ ./configure \
+ --prefix="${EPREFIX}"/usr \
+ --libdir="${EPREFIX}"/usr/$(get_libdir) \
+ --sysconfdir="${EPREFIX}"/etc \
+ || die
+}
+
+src_install() {
+ dobin ${PN}
+ dodoc AUTHORS README TODO
+
+ dolib.so lib${PN}.so.${PV}
+ dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so.${PV:0:1}
+ dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so
+
+ insinto /etc
+ doins src/${PN}.conf
+}