wok view n2n/receipt @ rev 24944

updated n2n (2.4 -> 3.0)
author Hans-G?nter Theisgen
date Fri Apr 22 16:44:33 2022 +0100 (2022-04-22)
parents 5ea0ce1cecc0
children 7364ffdaaa60
line source
1 # SliTaz package receipt.
3 PACKAGE="n2n"
4 VERSION="3.0"
5 CATEGORY="network"
6 SHORT_DESC="A Layer Two Peer-to-Peer VPN."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.ntop.org/products/n2n/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/ntop/$PACKAGE/archive/$VERSION.tar.gz"
14 DEPENDS=""
15 BUILD_DEPENDS="automake libcap-dev openssl-dev"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./autogen.sh &&
27 ./configure --prefix=/usr &&
28 make &&
29 make install DESTDIR=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cook_copy_folders sbin
36 }