wok annotate mlvpn/receipt @ rev 25036

gtk-gnutella: binutils 2.34+ support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 13:10:56 2022 +0000 (2022-05-21)
parents 5ea0ce1cecc0
children 7364ffdaaa60
rev   line source
pascal@16667 1 # SliTaz package receipt.
pascal@16667 2
pascal@16667 3 PACKAGE="mlvpn"
Hans-G?nter@24911 4 VERSION="2.3.5"
pascal@16667 5 CATEGORY="network"
Hans-G?nter@23182 6 SHORT_DESC="Multi-Link Virtual Public Network."
pascal@16667 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@16667 8 LICENSE="BSD"
pascal@16667 9 WEB_SITE="https://zehome.github.io/MLVPN/"
Hans-G?nter@23182 10
pascal@16667 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@16667 12 WGET_URL="https://github.com/zehome/MLVPN/archive/$VERSION.tar.gz"
pascal@16667 13
Hans-G?nter@24911 14 DEPENDS="libev libpcap libsodium"
Hans-G?nter@23182 15 BUILD_DEPENDS="autoconf automake libev-dev libpcap-dev libsodium-dev"
pascal@16667 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@16667 23 # Rules to configure and make the package.
pascal@16667 24 compile_rules()
pascal@16667 25 {
Hans-G?nter@23182 26 ./autogen.sh &&
Hans-G?nter@23182 27 ./configure \
Hans-G?nter@23182 28 --prefix=/usr \
pascal@16667 29 $CONFIGURE_ARGS &&
Hans-G?nter@23182 30 make &&
Hans-G?nter@23182 31 make install
pascal@16667 32 }
pascal@16667 33
pascal@16667 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@16667 35 genpkg_rules()
pascal@16667 36 {
Hans-G?nter@24911 37 cook_copy_folders sbin
pascal@16667 38 }