wok-next view gnu-netcat/receipt @ rev 19681

Up cookutils, cups, fontconfig, gtk+, ijs, paper-icon-theme, poppler, qpdf.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 07 17:30:10 2017 +0300 (2017-04-07)
parents 9e01bc6321ea
children d5aab818505e
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 }