wok view n2n/receipt @ rev 25734
updated sc-im (-> 0.8.4)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Aug 22 14:48:42 2024 +0100 (2 months ago) |
parents | 27c5a4be1423 |
children |
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 # 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 &&
29 make &&
30 make install DESTDIR=$DESTDIR
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cook_copy_folders sbin
37 }