wok-current annotate libuv/receipt @ rev 25590

Update cacerts, up elfutils url, fix pkg-config, py3k rebuild, and xorg build with gcc 6
author Stanislas Leduc <shann@slitaz.org>
date Thu Aug 24 14:03:59 2023 +0000 (16 months ago)
parents 2ce61368004b
children
rev   line source
Hans-G?nter@25519 1 # SliTaz package receipt.
Hans-G?nter@25519 2
Hans-G?nter@25519 3 PACKAGE="libuv"
Hans-G?nter@25519 4 VERSION="1.44.1"
Hans-G?nter@25519 5 CATEGORY="libs"
Hans-G?nter@25519 6 SHORT_DESC="Cross-platform asychronous I/O."
Hans-G?nter@25519 7 MAINTAINER="maintainer@slitaz.org"
Hans-G?nter@25519 8 LICENSE="MIT ISC"
Hans-G?nter@25519 9 WEB_SITE="https://libuv.org/"
Hans-G?nter@25519 10
Hans-G?nter@25519 11 TARBALL="$PACKAGE-v$VERSION.tar.gz"
Hans-G?nter@25519 12 WGET_URL="https://dist.libuv.org/dist/v$VERSION/$TARBALL"
Hans-G?nter@25519 13
Hans-G?nter@25519 14 BUILD_DEPENDS="autoconf automake libtool"
Hans-G?nter@25519 15
pascal@25531 16 # What is the latest version available today?
pascal@25531 17 current_version()
pascal@25531 18 {
pascal@25531 19 wget -O - https://dist.libuv.org/dist/ 2>/dev/null | \
pascal@25531 20 sed '/href="v/!d;s|.*"v||;s|/".*||' | sort -Vr | sed q
pascal@25531 21 }
pascal@25531 22
Hans-G?nter@25519 23 # Rules to configure and make the package.
Hans-G?nter@25519 24 compile_rules()
Hans-G?nter@25519 25 {
Hans-G?nter@25519 26 ./autogen.sh &&
Hans-G?nter@25519 27 ./configure \
Hans-G?nter@25519 28 --prefix=/usr \
Hans-G?nter@25519 29 --sysconfdir=/etc \
Hans-G?nter@25519 30 --mandir=/usr/share/man \
Hans-G?nter@25519 31 --localstatedir=/var &&
Hans-G?nter@25519 32 make \
Hans-G?nter@25519 33 CFLAGS="$CFLAGS -D__USE_MISC" \
Hans-G?nter@25519 34 BUILDTYPE=Release
Hans-G?nter@25519 35 make install \
Hans-G?nter@25519 36 DESTDIR="$DESTDIR"
Hans-G?nter@25519 37 }
Hans-G?nter@25519 38
Hans-G?nter@25519 39 # Rules to gen a SliTaz package suitable for Tazpkg.
Hans-G?nter@25519 40 genpkg_rules()
Hans-G?nter@25519 41 {
Hans-G?nter@25519 42 cook_copy_files *.so*
Hans-G?nter@25519 43 }