wok-next view fwknop/receipt @ rev 19955
Up mrxvt (0.5.4)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Mon Oct 16 16:12:38 2017 +0200 (2017-10-16) |
parents | db0956f543cf |
children | 3d5fe73ca04f |
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 }