wok view liburcu/receipt @ rev 25037

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