wok annotate n2n/receipt @ rev 24857

updated links and links-dfb (2.20.2 -> 2.25)
author Hans-G?nter Theisgen
date Mon Mar 28 17:04:25 2022 +0100 (2022-03-28)
parents e7c6d93c6e42
children 27c5a4be1423
rev   line source
pascal@14154 1 # SliTaz package receipt.
pascal@14154 2
pascal@14154 3 PACKAGE="n2n"
Hans-G?nter@21507 4 VERSION="2.4"
pascal@14154 5 CATEGORY="network"
pascal@14154 6 SHORT_DESC="A Layer Two Peer-to-Peer VPN."
pascal@14154 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14698 8 LICENSE="GPL3"
Hans-G?nter@21507 9 WEB_SITE="https://www.ntop.org/products/n2n/"
Hans-G?nter@21507 10
pascal@14154 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21507 12 WGET_URL="https://github.com/ntop/$PACKAGE/archive/$VERSION.tar.gz"
pascal@14154 13
pascal@14154 14 DEPENDS=""
Hans-G?nter@21507 15 BUILD_DEPENDS="openssl-dev"
pascal@14154 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
pascal@14154 23 # Rules to configure and make the package.
pascal@14154 24 compile_rules()
pascal@14154 25 {
pascal@14154 26 make PREFIX=/usr &&
pascal@14154 27 make DESTDIR=$DESTDIR install
pascal@14154 28 }
pascal@14154 29
pascal@14154 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14154 31 genpkg_rules()
pascal@14154 32 {
pascal@14154 33 mkdir -p $fs/usr
Hans-G?nter@21507 34
Hans-G?nter@21507 35 # cp -a $install/usr/bin $fs/usr
Hans-G?nter@21507 36 cp -a $install/usr/sbin $fs/usr
pascal@14154 37 }