wok-6.x view knock/receipt @ rev 1586

knock: fix CONFIG_FILES
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 16 17:56:33 2008 +0000 (2008-10-16)
parents b94e60fe7b4e
children 087a1ee211fc
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/knockd.conf"
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 }