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