wok view knock/receipt @ rev 18984
clementine: update bdeps
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 16 21:28:57 2016 +0200 (2016-03-16) |
parents | 216fe5c85b71 |
children | 7c138665bd75 |
line source
1 # SliTaz package receipt.
3 PACKAGE="knock"
4 VERSION="0.7"
5 CATEGORY="security"
6 SHORT_DESC="Port knock sequence listener."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
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 DEPENDS="iptables libpcap"
15 BUILD_DEPENDS="libpcap-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 [ -f done.knock.u ] || patch -p1 < $stuff/knock.u
21 touch done.knock.u
22 ./configure --prefix=/usr \
23 --infodir=/usr/share/info \
24 --sysconfdir=/etc \
25 --mandir=/usr/share/man \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $stuff/etc $fs
35 cp -a $stuff/usr $fs
36 cp -a $install/usr/sbin $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/etc $fs
39 }