SUMMARY="A utility to read and write to network connections"
DESCRIPTION="
Netcat is a simple utility which reads and writes data across network connections, \
using the TCP or UDP protocol.
"
HOMEPAGE="http://nc110.sourceforge.net"
SRC_URI="svn://svn.code.sf.net/p/nc110/code/nc110#22"
LICENSE="Public Domain"
COPYRIGHT="1996 hobbit"
REVISION="1"

ARCHITECTURES="x86_gcc2 x86 x86_64"
PATCHES="netcat-1.10.patchset"

PROVIDES="
	netcat = $portVersion
	cmd:nc = $portVersion
	"
REQUIRES="
	haiku >= $haikuVersion
	"
BUILD_REQUIRES="
	haiku_devel >= $haikuVersion
	"
BUILD_PREREQUIRES="
	cmd:gcc
	cmd:make
	"

BUILD()
{
	make haiku
}

INSTALL()
{
	mkdir -p $binDir
	cp nc $binDir
}
