wok-6.x view fwknop/receipt @ rev 21395
lxsession: modified TARBALL
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 22 17:17:19 2019 +0100 (2019-04-22) |
parents | 496a339c7e6b |
children | 83b97236db32 |
line source
1 # SliTaz package receipt.
3 PACKAGE="fwknop"
4 VERSION="2.6.10"
5 CATEGORY="network"
6 SHORT_DESC="Single Packet Authorization (FireWall KNock OPerator)"
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 }