wok-next diff gnu-netcat/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | d6ca18366f41 |
children |
line diff
1.1 --- a/gnu-netcat/receipt Mon Dec 21 02:53:09 2015 +0200 1.2 +++ b/gnu-netcat/receipt Sat Nov 21 14:32:44 2020 +0100 1.3 @@ -4,32 +4,30 @@ 1.4 VERSION="0.7.1" 1.5 CATEGORY="network" 1.6 SHORT_DESC="GNU rewrite of netcat, the network piping application" 1.7 -MAINTAINER="slaxemulator@gmail.com" 1.8 +MAINTAINER="devel@slitaz.org" 1.9 LICENSE="GPL2" 1.10 +WEB_SITE="http://netcat.sourceforge.net/" 1.11 + 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 -DEPENDS="texinfo" 1.18 1.19 -# Rules to configure and make the package. 1.20 -compile_rules() 1.21 -{ 1.22 - ./configure --mandir=/usr/share/man \ 1.23 +compile_rules() { 1.24 + ./configure \ 1.25 + --mandir=/usr/share/man \ 1.26 --infodir=/usr/share/info \ 1.27 $CONFIGURE_ARGS && 1.28 - make && make install 1.29 + make && 1.30 + make install 1.31 } 1.32 1.33 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 -genpkg_rules() 1.35 -{ 1.36 +genpkg_rules() { 1.37 mkdir -p $fs/usr 1.38 cp -a $install/usr/bin $fs/usr 1.39 + DEPENDS="texinfo" 1.40 } 1.41 1.42 -post_remove() 1.43 -{ 1.44 +post_remove() { 1.45 ln -s /bin/busybox "$1/usr/bin/nc" 1.46 }