wok-next view knock/receipt @ rev 1471

atl2: force kernel path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 04 12:16:12 2008 +0000 (2008-10-04)
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 }