SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "liburcu"

# SliTaz package receipt.

PACKAGE="liburcu"
VERSION="0.13.0"
CATEGORY="system-tools"
SHORT_DESC="Userspace RCU (read-copy-update) library."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="LGPL2.1"
WEB_SITE="https://liburcu.org/"
REPOLOGY="urcu"

SOURCE="userspace-rcu"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WGET_URL="https://www.lttng.org/files/urcu/$TARBALL"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*} 2>/dev/null | \
    sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure        \
        --prefix=/usr    \
        $CONFIGURE_ARGS
    make &&
    make install DESTDIR=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_files    *.so*
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)