diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-analyzer/netcat6/netcat6-1.0-r2.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-analyzer/netcat6/netcat6-1.0-r2.ebuild')
-rw-r--r-- | net-analyzer/netcat6/netcat6-1.0-r2.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/net-analyzer/netcat6/netcat6-1.0-r2.ebuild b/net-analyzer/netcat6/netcat6-1.0-r2.ebuild new file mode 100644 index 000000000000..f325cd1cdc2a --- /dev/null +++ b/net-analyzer/netcat6/netcat6-1.0-r2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils autotools toolchain-funcs + +DESCRIPTION="netcat clone with better IPv6 support, improved code, etc..." +HOMEPAGE="http://netcat6.sourceforge.net/" +SRC_URI="ftp://ftp.deepspace6.net/pub/ds6/sources/nc6/nc6-${PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 m68k ~mips ppc ~ppc64 s390 sh sparc x86 ~amd64-linux ~arm-linux ~x86-linux" +IUSE="ipv6 nls bluetooth" + +# need to block netcat as we provide the "nc" file now too +DEPEND=" + bluetooth? ( net-wireless/bluez ) +" +RDEPEND=" + ${DEPEND} + !net-analyzer/netcat +" + +S=${WORKDIR}/nc6-${PV} + +DOCS=( AUTHORS BUGS README NEWS TODO CREDITS ChangeLog ) + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-unix-sockets.patch \ + "${FILESDIR}"/${P}-automake-1.14.patch + AM_OPTS="--force-missing" eautoreconf +} + +src_configure() { + econf \ + $(use_enable ipv6) \ + $(use_enable bluetooth bluez) \ + $(use_enable nls) +} + +src_compile() { + emake AR=$(tc-getAR) +} + +src_install() { + default + dodir /usr/bin + dosym /usr/bin/nc6 /usr/bin/nc +} |