wok view knock/receipt @ rev 19715

Up cookutils(876): to fix amsn post-build
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Feb 16 02:22:14 2017 +0200 (2017-02-16)
parents 6cb94d9c1f79
children b569b85b0fb9
line source
1 # SliTaz package receipt.
3 PACKAGE="knock"
4 VERSION="0.7.8"
5 HASH="258a27e5a47809f97c2b9f2751a88c2f94aae891"
6 CATEGORY="security"
7 SHORT_DESC="Port knock sequence listener."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$PACKAGE-$VERSION.zip"
11 WEB_SITE="http://www.zeroflux.org/$PACKAGE"
12 WGET_URL="https://github.com/jvinet/$PACKAGE/archive/$HASH.zip"
13 CONFIG_FILES="/etc/knockd.conf"
15 DEPENDS="iptables libpcap"
16 BUILD_DEPENDS="libpcap-dev autoconf automake"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 patch -p1 < $stuff/knock.u
22 autoreconf -fi
23 ./configure --prefix=/usr \
24 --infodir=/usr/share/info \
25 --sysconfdir=/etc \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $stuff/etc $fs
36 cp -a $stuff/usr $fs
37 cp -a $install/usr/sbin $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/etc $fs
40 }