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

Up gparted (0.25.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 21 11:45:04 2016 +0100 (2016-01-21)
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 }