summaryrefslogtreecommitdiffstats
path: root/net-misc/httptunnel/httptunnel-3.3-r1.ebuild
blob: 3911c269d54539dfcb88f4225c73a84ddc5c7472 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/httptunnel/httptunnel-3.3.ebuild,v 1.4 2005/08/13 23:14:57 hansmi Exp $

DESCRIPTION="httptunnel can create IP tunnels through firewalls/proxies using HTTP"
HOMEPAGE="http://www.nocrew.org/software/httptunnel.html"
LICENSE="GPL-2"
DEPEND=""
KEYWORDS="ppc sparc x86 amd64"
IUSE=""
SLOT="0"
#RDEPEND=""
SRC_URI="http://www.nocrew.org/software/httptunnel/${P}.tar.gz"

src_compile() {
	./configure \
		--host=${CHOST} \
		--prefix=/usr \
		--infodir=/usr/share/info \
		--mandir=/usr/share/man || die "./configure failed"
	emake || die
}

src_install () {
	make DESTDIR=${D} install || die
	
	dodir /etc/conf.d /etc/init.d
	install -c -m 755 "${FILESDIR}"/htc ${D}/etc/init.d
	install -c -m 755 "${FILESDIR}"/hts ${D}/etc/init.d
	install -c -m 644 "${FILESDIR}"/htc.sysconfig ${D}/etc/conf.d/htc
	install -c -m 644 "${FILESDIR}"/hts.sysconfig ${D}/etc/conf.d/hts
}