diff options
Diffstat (limited to 'net-analyzer/netcat/netcat-110.ebuild')
-rw-r--r-- | net-analyzer/netcat/netcat-110.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/net-analyzer/netcat/netcat-110.ebuild b/net-analyzer/netcat/netcat-110.ebuild new file mode 100644 index 000000000000..f30869b07ba8 --- /dev/null +++ b/net-analyzer/netcat/netcat-110.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Ryan Tolboom ryan@gentoo.org +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netcat/netcat-110.ebuild,v 1.1 2002/06/28 11:54:12 bangert Exp $ + +A="nc110.tgz" +S=${WORKDIR}/nc-${PV} +DESCRIPTION="A network piping program" +SRC_URI="http://www.l0pht.com/~weld/netcat/${A}" +HOMEPAGE="http://www.l0pht.com/~weld/netcat" +SLOT="0" + +DEPEND="virtual/glibc" + +src_unpack() { + + mkdir ${S} + cd ${S} + tar zxf ${DISTDIR}/${A} +} + +src_compile() { + + cp Makefile Makefile.orig + cat Makefile.orig | sed -e "s:^CFLAGS =.*$:CFLAGS = ${CFLAGS}:" \ + | sed -e "s:^CC =.*$:CC = gcc \$(CFLAGS):" > Makefile + cp netcat.c netcat.orig + cat netcat.orig | sed -e "s:#define HAVE_BIND:#undef HAVE_BIND:" > netcat.c + try make linux + +} + +src_install () { + + dobin nc + dodoc README + docinto scripts + dodoc scripts/* + +} |