wok-stable rev 9448

Add gnu-netcat.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Apr 02 07:10:20 2011 +0000 (2011-04-02)
parents 1667aade4f62
children 9f32ab185bac
files gnu-netcat/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gnu-netcat/receipt	Sat Apr 02 07:10:20 2011 +0000
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gnu-netcat"
     1.7 +VERSION="0.7.1"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="GNU rewrite of netcat, the network piping application"
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +DEPENDS="texinfo"
    1.12 +SOURCE="netcat"
    1.13 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.14 +WEB_SITE="http://netcat.sourceforge.net/"
    1.15 +WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure --mandir=/usr/share/man \
    1.22 +		--infodir=/usr/share/info &&
    1.23 +	make && make install
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	mkdir -p $fs/usr
    1.30 +	cp -a $_pkg/usr/bin $fs/usr
    1.31 +}
    1.32 +