wok-6.x annotate libsbc/receipt @ rev 24853

updated libzdb and libzdb-dev (3.2.1 -> 3.2.2)
author Hans-G?nter Theisgen
date Mon Mar 28 13:57:51 2022 +0100 (2022-03-28)
parents cbcb33ee9044
children
rev   line source
pascal@20751 1 # SliTaz package receipt.
pascal@20751 2
pascal@20751 3 PACKAGE="libsbc"
pascal@20751 4 VERSION="1.4"
pascal@20751 5 CATEGORY="multimedia"
pascal@20751 6 SHORT_DESC="Digital audio encoder and decoder for Bluetooth audio output devices"
pascal@20751 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20751 8 LICENSE="GPL2"
pascal@20751 9 WEB_SITE="http://www.bluez.org/"
pascal@20751 10 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@20751 11 WGET_URL="https://www.kernel.org/pub/linux/bluetooth/sbc-$VERSION.tar.xz"
pascal@20751 12
pascal@24336 13 # What is the latest version available today?
pascal@24336 14 current_version()
pascal@24336 15 {
pascal@24336 16 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24336 17 sed "/latest/d;/sbc-[0-9]/!d;/tar/!d;s|.*sbc-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24336 18 }
pascal@24336 19
pascal@20751 20 # Rules to configure and make the package.
pascal@20751 21 compile_rules()
pascal@20751 22 {
pascal@20751 23 ./configure \
pascal@20751 24 --prefix=/usr \
pascal@20751 25 --disable-static \
pascal@20751 26 --disable-tester \
pascal@20751 27 $CONFIGURE_ARGS &&
pascal@20751 28 make &&
pascal@20751 29 make DESTDIR=$DESTDIR install
pascal@20751 30 }
pascal@20751 31
pascal@20751 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20751 33 genpkg_rules()
pascal@20751 34 {
pascal@20751 35 mkdir -p $fs/usr/lib
pascal@20751 36 cp -a $install/usr/bin $fs/usr
pascal@20751 37 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@20751 38 }