diff options
Diffstat (limited to 'net-misc/htun/htun-0.9.6.ebuild')
-rw-r--r-- | net-misc/htun/htun-0.9.6.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/net-misc/htun/htun-0.9.6.ebuild b/net-misc/htun/htun-0.9.6.ebuild new file mode 100644 index 000000000000..e5ffb4446aa3 --- /dev/null +++ b/net-misc/htun/htun-0.9.6.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit eutils readme.gentoo + +DESCRIPTION="Project to tunnel IP traffic over HTTP" +HOMEPAGE="http://linux.softpedia.com/get/System/Networking/HTun-14751.shtml" +SRC_URI="http://www.sourcefiles.org/Networking/Tools/Proxy/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# should not be replaced by virtual/yacc +# at least failed with dev-util/bison +DEPEND="dev-util/yacc" +RDEPEND="" + +src_prepare() { + epatch "${FILESDIR}"/${P}-glibc.patch #248100 + epatch "${FILESDIR}"/${P}-makefile.patch + + epatch_user +} + +src_compile() { + emake -C src CC="$(tc-getCC)" +} + +src_install() { + dosbin src/htund + insinto /etc + doins doc/htund.conf + dodoc doc/* README + readme.gentoo_create_doc +} |