wok-6.x view gnu-netcat/receipt @ rev 19543

retawq: rework receipt; add cryptkeeper.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 05 20:07:13 2016 +0200 (2016-12-05)
parents 9e01bc6321ea
children 932cd974e081
line source
1 # SliTaz package receipt.
3 PACKAGE="gnu-netcat"
4 VERSION="0.7.1"
5 CATEGORY="network"
6 SHORT_DESC="GNU rewrite of netcat, the network piping application"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 SOURCE="netcat"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://netcat.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
14 DEPENDS="texinfo"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure --mandir=/usr/share/man \
20 --infodir=/usr/share/info \
21 $CONFIGURE_ARGS &&
22 make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/bin $fs/usr
30 }
32 post_remove()
33 {
34 ln -s /bin/busybox "$1/usr/bin/nc"
35 }