wok-next annotate fwknop/receipt @ rev 19419
Add fwknop
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 30 18:43:31 2016 +0200 (2016-09-30) |
parents | |
children | db0956f543cf |
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@19419 | 12 |
pascal@19419 | 13 DEPENDS="iptables" |
pascal@19419 | 14 BUILD_DEPENDS="libpcap-dev iptables" |
pascal@19419 | 15 |
pascal@19419 | 16 # Rules to configure and make the package. |
pascal@19419 | 17 compile_rules() |
pascal@19419 | 18 { |
pascal@19419 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@19419 | 20 --sysconfdir=/etc \ |
pascal@19419 | 21 --localstatedir=/var \ |
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@19419 | 31 mkdir -p $fs/usr/lib |
pascal@19419 | 32 cp -a $install/etc $fs |
pascal@19419 | 33 cp -a $install/usr/bin $fs/usr |
pascal@19419 | 34 cp -a $install/usr/sbin $fs/usr |
pascal@19419 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@19419 | 36 } |