wok-6.x view gnu-netcat/receipt @ rev 17798
Add mate-settings-daemon
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Fri Mar 20 20:01:49 2015 -0300 (2015-03-20) |
parents | 8ad8c3236c6c |
children | 9e01bc6321ea |
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 cd $src
20 ./configure --mandir=/usr/share/man \
21 --infodir=/usr/share/info \
22 $CONFIGURE_ARGS &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/bin $fs/usr
31 }
33 # Pre and post install commands for Tazpkg.
34 # We must remove all Busybox symlink before installing.
35 #
36 pre_install()
37 {
38 local root
39 root=$1
40 echo "Processing pre-install commands..."
41 echo -n "Removing all Busybox replaced utils... "
42 rm -f $root/usr/bin/nc
43 status
44 }
46 post_remove()
47 {
48 ln -s /bin/busybox $1/usr/bin/nc
49 }