wok-next annotate fwknop/receipt @ rev 19839

Up xterm
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Aug 13 16:44:00 2017 +0300 (2017-08-13)
parents db0956f543cf
children 3d5fe73ca04f
rev   line source
pascal@19419 1 # SliTaz package receipt.
pascal@19419 2
pascal@19419 3 PACKAGE="fwknop"
pascal@19419 4 VERSION="2.6.9"
pascal@19419 5 CATEGORY="network"
pascal@19419 6 SHORT_DESC="Single Packet Authorization"
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 }