wok annotate liburcu/receipt @ rev 24905

updated metasploit (5.0.91 -> 6.1.36)
author Hans-G?nter Theisgen
date Sat Apr 09 13:21:57 2022 +0100 (2022-04-09)
parents ede1d184d5c5
children
rev   line source
pascal@19989 1 # SliTaz package receipt.
pascal@19989 2
pascal@19989 3 PACKAGE="liburcu"
Hans-G?nter@24846 4 VERSION="0.13.0"
pascal@19989 5 CATEGORY="system-tools"
pascal@19989 6 SHORT_DESC="Userspace RCU (read-copy-update) library."
pascal@19989 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@19989 8 LICENSE="LGPL2.1"
Hans-G?nter@21328 9 WEB_SITE="https://liburcu.org/"
Hans-G?nter@24846 10 REPOLOGY="urcu"
Hans-G?nter@21328 11
Hans-G?nter@24846 12 SOURCE="userspace-rcu"
pascal@19989 13 TARBALL="$SOURCE-$VERSION.tar.bz2"
Hans-G?nter@21328 14 WGET_URL="https://www.lttng.org/files/urcu/$TARBALL"
pascal@19989 15
pascal@24447 16 # What is the latest version available today?
pascal@24447 17 current_version()
pascal@24447 18 {
pascal@24447 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24447 20 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24447 21 }
pascal@24447 22
pascal@19989 23 # Rules to configure and make the package.
pascal@19989 24 compile_rules()
pascal@19989 25 {
Hans-G?nter@21328 26 ./configure \
Hans-G?nter@21328 27 --prefix=/usr \
pascal@19989 28 $CONFIGURE_ARGS
Hans-G?nter@24846 29 make &&
Hans-G?nter@24846 30 make install DESTDIR=$DESTDIR
pascal@19989 31 }
pascal@19989 32
pascal@19989 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@19989 34 genpkg_rules()
pascal@19989 35 {
Hans-G?nter@24846 36 cook_copy_files *.so*
pascal@19989 37 }