wok-current view fwknop/receipt @ rev 19435
zerobin: add download button
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 04 15:33:49 2016 +0200 (2016-10-04) |
parents | db0956f543cf |
children | 5ac54b83c335 |
line source
1 # SliTaz package receipt.
3 PACKAGE="fwknop"
4 VERSION="2.6.9"
5 CATEGORY="network"
6 SHORT_DESC="Single Packet Authorization"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.cipherdyne.org/fwknop/"
11 WGET_URL="${WEB_SITE}download/$TARBALL"
12 CONFIG_FILES="/etc/fwknop"
14 DEPENDS="iptables gpgme gnupg libgpg-error"
15 BUILD_DEPENDS="libpcap-dev gpgme-dev gnupg iptables"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --sysconfdir=/etc \
22 --mandir=/usr/share/man \
23 $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/lib $install/usr/share/doc
32 cp $src/README $install/usr/share/doc
33 cp $src/CREDITS $install/usr/share/doc
34 cp $src/AUTHORS $install/usr/share/doc
35 cp $src/ChangeLog $install/usr/share/doc
36 cp -a $install/etc $fs
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/sbin $fs/usr
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }