wok-6.x view liburcu/receipt @ rev 24783

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