wok-next view gnu-netcat/receipt @ rev 10330
fftw: Add $CONFIGURE_ARGS.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun May 22 01:04:25 2011 +0000 (2011-05-22) |
parents | 9f32ab185bac |
children | 8ad8c3236c6c |
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 DEPENDS="texinfo"
9 SOURCE="netcat"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://netcat.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --mandir=/usr/share/man \
19 --infodir=/usr/share/info &&
20 make && make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/bin $fs/usr
28 }
30 # Pre and post install commands for Tazpkg.
31 # We must remove all Busybox symlink before installing.
32 #
33 pre_install()
34 {
35 local root
36 root=$1
37 echo "Processing pre-install commands..."
38 echo -n "Removing all Busybox replaced utils... "
39 rm -f $root/usr/bin/nc
40 status
41 }
43 post_remove()
44 {
45 ln -s /bin/busybox $1/usr/bin/nc
46 }