wok annotate n2n/receipt @ rev 25618

Update get-pcem-roms
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 28 14:28:52 2023 +0000 (16 months ago)
parents 27c5a4be1423
children
rev   line source
pascal@14154 1 # SliTaz package receipt.
pascal@14154 2
pascal@14154 3 PACKAGE="n2n"
Hans-G?nter@24944 4 VERSION="3.0"
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@24944 15 BUILD_DEPENDS="automake libcap-dev openssl-dev"
pascal@14154 16
pascal@25600 17 # What is the latest version available today?
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24055 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@25600 21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24055 22 }
pascal@24055 23
pascal@14154 24 # Rules to configure and make the package.
pascal@14154 25 compile_rules()
pascal@14154 26 {
Hans-G?nter@24944 27 ./autogen.sh &&
Hans-G?nter@24944 28 ./configure --prefix=/usr &&
Hans-G?nter@24944 29 make &&
Hans-G?nter@24944 30 make install DESTDIR=$DESTDIR
pascal@14154 31 }
pascal@14154 32
pascal@14154 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14154 34 genpkg_rules()
pascal@14154 35 {
Hans-G?nter@24944 36 cook_copy_folders sbin
pascal@14154 37 }