wok view gnu-netcat/receipt @ rev 20917

updated fdupes (1.40 -> 1.6.1)
author Hans-G?nter Theisgen
date Thu Feb 28 17:10:02 2019 +0100 (2019-02-28)
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 }