wok annotate fwknop/receipt @ rev 21784
Update powermanga (thanks Rene Rivero)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 21 10:32:10 2019 +0200 (2019-07-21) |
parents | 496a339c7e6b |
children | 83b97236db32 |
rev | line source |
---|---|
pascal@19419 | 1 # SliTaz package receipt. |
pascal@19419 | 2 |
pascal@19419 | 3 PACKAGE="fwknop" |
pascal@20521 | 4 VERSION="2.6.10" |
pascal@19419 | 5 CATEGORY="network" |
pascal@20521 | 6 SHORT_DESC="Single Packet Authorization (FireWall KNock OPerator)" |
pascal@19419 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19419 | 8 LICENSE="GPL2" |
pascal@19419 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@19419 | 10 WEB_SITE="http://www.cipherdyne.org/fwknop/" |
pascal@19419 | 11 WGET_URL="${WEB_SITE}download/$TARBALL" |
pascal@19422 | 12 CONFIG_FILES="/etc/fwknop" |
pascal@19419 | 13 |
pascal@19422 | 14 DEPENDS="iptables gpgme gnupg libgpg-error" |
pascal@19422 | 15 BUILD_DEPENDS="libpcap-dev gpgme-dev gnupg iptables" |
pascal@19419 | 16 |
pascal@19419 | 17 # Rules to configure and make the package. |
pascal@19419 | 18 compile_rules() |
pascal@19419 | 19 { |
pascal@19419 | 20 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@19419 | 21 --sysconfdir=/etc \ |
pascal@19419 | 22 --mandir=/usr/share/man \ |
pascal@19419 | 23 $CONFIGURE_ARGS && |
pascal@19419 | 24 make && |
pascal@19419 | 25 make DESTDIR=$DESTDIR install |
pascal@19419 | 26 } |
pascal@19419 | 27 |
pascal@19419 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19419 | 29 genpkg_rules() |
pascal@19419 | 30 { |
pascal@19422 | 31 mkdir -p $fs/usr/lib $install/usr/share/doc |
pascal@19422 | 32 cp $src/README $install/usr/share/doc |
pascal@19422 | 33 cp $src/CREDITS $install/usr/share/doc |
pascal@19422 | 34 cp $src/AUTHORS $install/usr/share/doc |
pascal@19423 | 35 cp $src/ChangeLog $install/usr/share/doc |
pascal@19419 | 36 cp -a $install/etc $fs |
pascal@19419 | 37 cp -a $install/usr/bin $fs/usr |
pascal@19419 | 38 cp -a $install/usr/sbin $fs/usr |
pascal@19419 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@19419 | 40 } |