# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-misc/proxytunnel/proxytunnel-1.6.0-r1.ebuild,v 1.4 2006/02/22 23:29:18 vapier Exp $ inherit eutils flag-o-matic toolchain-funcs DESCRIPTION="program that connects stdin and stdout to a server somewhere on the network, through a standard HTTPS proxy" HOMEPAGE="http://proxytunnel.sourceforge.net/" SRC_URI="mirror://sourceforge/proxytunnel/${P}.tgz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="static" RDEPEND="dev-libs/openssl" DEPEND="${RDEPEND} dev-util/pkgconfig" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-build.patch } src_compile() { use static && append-ldflags -static emake CC="$(tc-getCC)" || die } src_install() { make install PREFIX=/usr DESTDIR="${D}" || die dodoc CHANGES CREDITS KNOWN_ISSUES README }