wok-stable view knock/receipt @ rev 1435
Add knock
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 01 11:27:07 2008 +0000 (2008-10-01) |
parents | |
children | b94e60fe7b4e |
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 WEB_SITE="http://www.zeroflux.org/$PACKAGE"
10 WGET_URL="http://www.zeroflux.org/proj/$PACKAGE/files/$TARBALL"
11 CONFIG_FILES="/etc/knock"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 patch -p1 < ../stuff/knock.u
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/etc $fs
29 cp -a $_pkg/usr/sbin $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a stuff/etc $fs
32 }