summaryrefslogtreecommitdiff
blob: 64613ed7d785025fcb54d6848644c62b0f4e257e (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netcat6/netcat6-0.5.ebuild,v 1.3 2005/10/18 02:02:41 agriffis Exp $

DESCRIPTION="netcat clone with better IPv6 support, improved code, etc..."
HOMEPAGE="http://netcat6.sourceforge.net/"
SRC_URI="http://ftp.deepspace6.net/pub/sources/nc6/nc6-${PV}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha ~amd64 ~arm ~hppa ia64 ~m68k ~ppc ~s390 ~sh ~sparc x86"
IUSE="ipv6 nls"

DEPEND=""

S=${WORKDIR}/nc6-${PV}

src_compile() {
	econf \
		$(use_enable ipv6) \
		$(use_enable nls) \
		|| die
	emake || die
}

src_install() {
	make install DESTDIR="${D}" || die
	dodoc AUTHORS BUGS README NEWS TODO CREDITS ChangeLog
}