/[gentoo-x86]/net-analyzer/netcat6/netcat6-1.0-r2.ebuild
Gentoo

Contents of /net-analyzer/netcat6/netcat6-1.0-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.14 - (show annotations) (download)
Mon Jul 14 21:39:15 2014 UTC (5 years, 6 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.13: +12 -7 lines
Set RDEPEND (not DEPEND) blocker. Clean up patches.

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/netcat6/netcat6-1.0-r2.ebuild,v 1.13 2013/12/04 03:21:59 radhermit Exp $
4
5 EAPI=5
6 inherit eutils autotools toolchain-funcs
7
8 DESCRIPTION="netcat clone with better IPv6 support, improved code, etc..."
9 HOMEPAGE="http://netcat6.sourceforge.net/"
10 SRC_URI="ftp://ftp.deepspace6.net/pub/ds6/sources/nc6/nc6-${PV}.tar.bz2"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ~ppc64 s390 sh sparc x86 ~amd64-linux ~arm-linux ~x86-linux"
15 IUSE="ipv6 nls bluetooth"
16
17 # need to block netcat as we provide the "nc" file now too
18 DEPEND="
19 bluetooth? ( net-wireless/bluez )
20 "
21 RDEPEND="
22 ${DEPEND}
23 !net-analyzer/netcat
24 "
25
26 S=${WORKDIR}/nc6-${PV}
27
28 DOCS=( AUTHORS BUGS README NEWS TODO CREDITS ChangeLog )
29
30 src_prepare() {
31 epatch \
32 "${FILESDIR}"/${P}-unix-sockets.patch \
33 "${FILESDIR}"/${P}-automake-1.14.patch
34 AM_OPTS="--force-missing" eautoreconf
35 }
36
37 src_configure() {
38 econf \
39 $(use_enable ipv6) \
40 $(use_enable bluetooth bluez) \
41 $(use_enable nls)
42 }
43
44 src_compile() {
45 emake AR=$(tc-getAR)
46 }
47
48 src_install() {
49 default
50 dodir /usr/bin
51 dosym /usr/bin/nc6 /usr/bin/nc
52 }

  ViewVC Help
Powered by ViewVC 1.1.20