wok view knock/receipt @ rev 9874

slitaz-boot-script: fix path for bootlof script
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 16 23:45:00 2011 +0200 (2011-05-16)
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 }