wok view knock/receipt @ rev 1502

Up madwifi (r3861)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 05 14:00:19 2008 +0000 (2008-10-05)
parents e906460e922d
children 64bb96cfe591
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 BUILD_DEPENDS="libpcap"
10 WEB_SITE="http://www.zeroflux.org/$PACKAGE"
11 WGET_URL="http://www.zeroflux.org/proj/$PACKAGE/files/$TARBALL"
12 CONFIG_FILES="/etc/knock"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 [ -f done.knock.u ] || patch -p1 < ../stuff/knock.u
19 touch done.knock.u
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/etc $fs
31 cp -a $_pkg/usr/sbin $fs/usr
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a stuff/etc $fs
34 }