summaryrefslogtreecommitdiff
blob: ce784ba83a3354621f0756a7dcc956768edcf0d6 (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
34
35
36
37
38
39
40
41
42
43
44
45
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-irc/iip/iip-1.2.ebuild,v 1.5 2004/05/29 16:16:27 pvdabeel Exp $

inherit eutils

MY_P="iip-1.2-dev1"

DESCRIPTION="Proxy server for encrypted anonymous irc-like network"
HOMEPAGE="http://www.invisiblenet.net/iip/"
SRC_URI="mirror://sourceforge/invisibleip/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE=""

DEPEND="virtual/glibc
		dev-libs/openssl
		>=sys-apps/sed-4"
RDEPEND=""

S="${WORKDIR}/${MY_P}"

src_compile() {
	econf || die

	sed -i \
			-e "s:-Werror::" ${S}/src/Makefile || \
						die "sed Makefile failed"

	emake || die
}

src_install() {
	ehome=/home/iip
	enewuser iip
	dodir /usr/man/man1
	dodir /usr/bin
	dodir /usr/share/iip
	make prefix=${D}/usr \
		mandir=${D}/usr/share/man install || die
	dodoc AUTHORS  CHANGELOG  COPYING  INSTALL  README

}