SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libuv"

# SliTaz package receipt.

PACKAGE="libuv"
VERSION="1.44.1"
CATEGORY="libs"
SHORT_DESC="Cross-platform asychronous I/O."
MAINTAINER="maintainer@slitaz.org"
LICENSE="MIT ISC"
WEB_SITE="https://libuv.org/"

TARBALL="$PACKAGE-v$VERSION.tar.gz"
WGET_URL="https://dist.libuv.org/dist/v$VERSION/$TARBALL"

BUILD_DEPENDS="autoconf automake libtool"

# What is the latest version available today?
current_version()
{
    wget -O - https://dist.libuv.org/dist/ 2>/dev/null | \
    sed '/href="v/!d;s|.*"v||;s|/".*||' | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    ./autogen.sh &&
    ./configure            \
        --prefix=/usr        \
        --sysconfdir=/etc    \
        --mandir=/usr/share/man    \
        --localstatedir=/var &&
    make                    \
        CFLAGS="$CFLAGS -D__USE_MISC"    \
        BUILDTYPE=Release
    make    install                \
        DESTDIR="$DESTDIR"
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_files    *.so*
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)