31 lines
665 B
Bash
31 lines
665 B
Bash
# Copyright 1999-2012 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
EAPI=4
|
|
|
|
inherit eutils toolchain-funcs
|
|
|
|
DESCRIPTION="httptunnel can create IP tunnels through firewalls/proxies using HTTP"
|
|
HOMEPAGE="http://www.nocrew.org/software/httptunnel.html"
|
|
SRC_URI="http://www.nocrew.org/software/${PN}/${P}.tar.gz"
|
|
LICENSE="GPL-2"
|
|
KEYWORDS="amd64 ppc x86 ~x86-fbsd"
|
|
IUSE=""
|
|
SLOT="0"
|
|
|
|
DEPEND=""
|
|
RDEPEND=""
|
|
|
|
src_prepare() {
|
|
epatch "${FILESDIR}"/${P}-fix_write_stdin.patch
|
|
tc-export CC
|
|
}
|
|
|
|
src_configure() {
|
|
./configure \
|
|
--host=${CHOST} \
|
|
--prefix=/usr \
|
|
--infodir=/usr/share/info \
|
|
--mandir=/usr/share/man || die
|
|
}
|