wok view fwknop/receipt @ rev 25726
renamed xfce4-ristretto to ristretto
author | Hans-G?nter Theisgen |
---|---|
date | Sat Aug 17 17:30:48 2024 +0100 (2 months ago) |
parents | fe7f66b054ed |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="fwknop"
4 VERSION="2.6.11"
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.gz"
10 WEB_SITE="http://www.cipherdyne.org/fwknop/"
11 WGET_URL="https://github.com/mrash/fwknop/archive/refs/tags/$VERSION.tar.gz"
12 CONFIG_FILES="/etc/fwknop"
14 DEPENDS="iptables gpgme gnupg libgpg-error"
15 BUILD_DEPENDS="libpcap-dev gpgme-dev gnupg iptables automake texinfo"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./autogen.sh
28 ./configure --prefix=/usr --infodir=/usr/share/info \
29 --sysconfdir=/etc \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib $install/usr/share/doc
40 cp $src/README $install/usr/share/doc
41 cp $src/CREDITS $install/usr/share/doc
42 cp $src/AUTHORS $install/usr/share/doc
43 cp $src/ChangeLog $install/usr/share/doc
44 cp -a $install/etc $fs
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/sbin $fs/usr
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 }