wok-current annotate libpthread-stubs/receipt @ rev 24906

updated minidlna (1.2.1 -> 1.3.0)
author Hans-G?nter Theisgen
date Sat Apr 09 14:37:52 2022 +0100 (2022-04-09)
parents 6e8b1bcb30e2
children 5926178cd6fa
rev   line source
pascal@2752 1 # SliTaz package receipt.
pascal@2752 2
pascal@2752 3 PACKAGE="libpthread-stubs"
erjo@14820 4 VERSION="0.2"
pascal@2752 5 CATEGORY="x-window"
pascal@2752 6 SHORT_DESC="Weak aliases for pthread functions."
pascal@2752 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15482 8 LICENSE="MIT"
pascal@2752 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20671 10 WEB_SITE="https://xcb.freedesktop.org"
pascal@15482 11 WGET_URL="$WEB_SITE/dist/$TARBALL"
pankso@16342 12 HOST_ARCH="i486 arm"
pascal@15482 13
pascal@24436 14 # What is the latest version available today?
pascal@24436 15 current_version()
pascal@24436 16 {
pascal@24436 17 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24436 18 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24436 19 }
pascal@24436 20
pascal@2752 21 # Rules to configure and make the package.
pascal@2752 22 compile_rules()
pascal@2752 23 {
pankso@16347 24 ./configure $CONFIGURE_ARGS &&
pankso@16347 25 make && make -j 1 install
pascal@2752 26 }
pascal@2752 27
pascal@2752 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2752 29 genpkg_rules()
pascal@2752 30 {
erjo@14820 31 mkdir -p $fs/usr/lib
pascal@15482 32 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@2752 33 }
pascal@2752 34