wok-current view fwknop/receipt @ rev 20043
ipxe: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 30 11:23:20 2017 +0200 (2017-08-30) |
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 }