wok view knock/receipt @ rev 9700

Replaced all ../stuff with $stuff.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun May 08 09:01:58 2011 +0000 (2011-05-08)
parents 087a1ee211fc
children 9c3435378d26
line source
1 # SliTaz package receipt.
3 PACKAGE="knock"
4 VERSION="0.5"
5 CATEGORY="security"
6 SHORT_DESC="Port knock sequence listener."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 DEPENDS="iptables"
10 BUILD_DEPENDS="libpcap"
11 WEB_SITE="http://www.zeroflux.org/$PACKAGE"
12 WGET_URL="http://www.zeroflux.org/proj/$PACKAGE/files/$TARBALL"
13 CONFIG_FILES="/etc/knockd.conf"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 [ -f done.knock.u ] || patch -p1 < $stuff/knock.u
20 touch done.knock.u
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --mandir=/usr/share/man $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/etc $fs
32 cp -a $_pkg/usr/sbin $fs/usr
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a stuff/etc $fs
35 }