wok-next view knock/receipt @ rev 16097

ARM: add links (at least we have a GUI browser)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 16 21:54:03 2014 +0100 (2014-03-16)
parents 9c3435378d26
children 216fe5c85b71
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 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"
15 BUILD_DEPENDS="libpcap-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 [ -f done.knock.u ] || patch -p1 < $stuff/knock.u
22 touch done.knock.u
23 ./configure --prefix=/usr --infodir=/usr/share/info \
24 --mandir=/usr/share/man $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/etc $fs
34 cp -a $install/usr/sbin $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 cp -a stuff/etc $fs
37 }