wok-next annotate knock/receipt @ rev 19149
Add fzy
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Mon May 23 14:46:43 2016 +0200 (2016-05-23) |
parents | 216fe5c85b71 |
children | 757d032c55c7 |
rev | line source |
---|---|
pascal@1435 | 1 # SliTaz package receipt. |
pascal@1435 | 2 |
pascal@1435 | 3 PACKAGE="knock" |
pascal@17686 | 4 VERSION="0.7" |
pascal@1435 | 5 CATEGORY="security" |
pascal@1435 | 6 SHORT_DESC="Port knock sequence listener." |
pascal@1435 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15601 | 8 LICENSE="GPL2" |
pascal@1435 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1435 | 10 WEB_SITE="http://www.zeroflux.org/$PACKAGE" |
pascal@1435 | 11 WGET_URL="http://www.zeroflux.org/proj/$PACKAGE/files/$TARBALL" |
pascal@1586 | 12 CONFIG_FILES="/etc/knockd.conf" |
pascal@1435 | 13 |
pascal@18046 | 14 DEPENDS="iptables libpcap" |
erjo@9935 | 15 BUILD_DEPENDS="libpcap-dev" |
erjo@9935 | 16 |
pascal@1435 | 17 # Rules to configure and make the package. |
pascal@1435 | 18 compile_rules() |
pascal@1435 | 19 { |
slaxemulator@9700 | 20 [ -f done.knock.u ] || patch -p1 < $stuff/knock.u |
pascal@1461 | 21 touch done.knock.u |
pascal@17686 | 22 ./configure --prefix=/usr \ |
pascal@17686 | 23 --infodir=/usr/share/info \ |
pascal@17686 | 24 --sysconfdir=/etc \ |
pascal@17686 | 25 --mandir=/usr/share/man \ |
pascal@17686 | 26 $CONFIGURE_ARGS && |
pascal@1435 | 27 make && |
erjo@9935 | 28 make DESTDIR=$DESTDIR install |
pascal@1435 | 29 } |
pascal@1435 | 30 |
pascal@1435 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1435 | 32 genpkg_rules() |
pascal@1435 | 33 { |
pascal@17686 | 34 cp -a $stuff/etc $fs |
pascal@17686 | 35 cp -a $stuff/usr $fs |
pascal@15601 | 36 cp -a $install/usr/sbin $fs/usr |
pascal@15601 | 37 cp -a $install/usr/bin $fs/usr |
pascal@17686 | 38 cp -a $install/etc $fs |
pascal@1435 | 39 } |