wok-stable view knock/receipt @ rev 11486
sdcc: add flex as build_depend
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Dec 18 03:02:00 2011 +0100 (2011-12-18) |
parents | d1768332cee0 |
children |
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/knockd.conf"
13 DEPENDS="iptables"
14 BUILD_DEPENDS="libpcap-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 [ -f done.knock.u ] || patch -p1 < $stuff/knock.u
21 touch done.knock.u
22 ./configure --prefix=/usr --infodir=/usr/share/info \
23 --mandir=/usr/share/man $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $_pkg/etc $fs
33 cp -a $_pkg/usr/sbin $fs/usr
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a stuff/etc $fs
36 }