2014-01-27 09:59:37 +04:00
|
|
|
# Copyright 1999-2014 Gentoo Foundation
|
2012-02-06 16:39:49 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2014-01-27 09:59:37 +04:00
|
|
|
# $Header: /var/cvsroot/gentoo-x86/net-misc/proxytunnel/proxytunnel-1.9.0.ebuild,v 1.5 2014/01/26 21:01:17 vikraman Exp $
|
|
|
|
|
|
|
|
EAPI="5"
|
2012-02-06 16:39:49 +04:00
|
|
|
|
|
|
|
inherit flag-o-matic toolchain-funcs
|
|
|
|
|
2013-11-06 17:44:04 +04:00
|
|
|
DESCRIPTION="Connect stdin and stdout to a server somewhere on the network, through a standard HTTPS proxy"
|
2014-01-27 09:59:37 +04:00
|
|
|
HOMEPAGE="https://github.com/proxytunnel/proxytunnel/ http://proxytunnel.sourceforge.net/"
|
2012-02-06 16:39:49 +04:00
|
|
|
SRC_URI="mirror://sourceforge/proxytunnel/${P}.tgz"
|
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~ppc ~x86"
|
|
|
|
IUSE="static"
|
|
|
|
|
|
|
|
RDEPEND="dev-libs/openssl"
|
|
|
|
DEPEND="${RDEPEND}
|
2012-05-05 10:06:40 +04:00
|
|
|
virtual/pkgconfig"
|
2012-02-06 16:39:49 +04:00
|
|
|
|
2014-01-27 09:59:37 +04:00
|
|
|
src_prepare() {
|
|
|
|
sed -i -e 's/libssl/libssl libcrypto/' Makefile || die "Sed failed!"
|
|
|
|
}
|
|
|
|
|
2012-02-06 16:39:49 +04:00
|
|
|
src_compile() {
|
|
|
|
use static && append-ldflags -static
|
|
|
|
emake CC="$(tc-getCC)" || die
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
2014-01-27 09:59:37 +04:00
|
|
|
emake install PREFIX="${EPREFIX}"/usr DESTDIR="${D}" || die
|
|
|
|
dodoc CHANGES CREDITS INSTALL KNOWN_ISSUES LICENSE.txt README RELNOTES TODO
|
2012-02-06 16:39:49 +04:00
|
|
|
}
|