wok-next view fwknop/receipt @ rev 21031
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 15:42:26 2018 +0200 (2018-11-03) |
parents | 3460c1bb1b40 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="fwknop"
4 VERSION="2.6.10"
5 CATEGORY="network"
6 SHORT_DESC="FireWall KNock OPerator: Single Packet Authorization and Port Knocking"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.cipherdyne.org/fwknop/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://cipherdyne.org/fwknop/download/$TARBALL"
14 BUILD_DEPENDS="automake libtool gpgme-dev libpcap-dev iptables gnupg texinfo \
15 libgpg-error-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 autoreconf -fiv &&
20 ./configure $CONFIGURE_ARGS &&
21 fix libtool &&
22 make &&
23 make install || return 1
25 cook_pick_docs README CREDITS AUTHORS ChangeLog
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 fwknop)
31 copy @std
32 DEPENDS="gpgme libassuan libgpg-error libpcap gnupg iptables"
33 CONFIG_FILES="/etc/fwknop"
34 ;;
35 *-dev)
36 copy @dev
37 DEPENDS="fwknop gpgme-dev libassuan-dev libgpg-error-dev"
38 ;;
39 esac
40 }