wok view n2n/receipt @ rev 24467
updated dasm (2.20.11 -> 2.20.14.1)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 17 13:54:18 2022 +0100 (2022-02-17) |
parents | e7c6d93c6e42 |
children | 27c5a4be1423 |
line source
1 # SliTaz package receipt.
3 PACKAGE="n2n"
4 VERSION="2.4"
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="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 make PREFIX=/usr &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
35 # cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/sbin $fs/usr
37 }