wok view libsbc/receipt @ rev 25669

Up lapack (3.12.0), less (633), libarchive (3.7.2), liblouis (3.28.0), libmicrohttpd (1.0.1), libpng (1.6.43), libssh (0.10.6), libtasn1 (4.19.0), libtirpc (1.3.4), libvpx (1.14.0), libwebp (1.3.2), logrotate (3.21.0), lua (5.4.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 25 16:11:20 2024 +0000 (3 months ago)
parents cbcb33ee9044
children 0c82700f4deb
line source
1 # SliTaz package receipt.
3 PACKAGE="libsbc"
4 VERSION="1.4"
5 CATEGORY="multimedia"
6 SHORT_DESC="Digital audio encoder and decoder for Bluetooth audio output devices"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.bluez.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WGET_URL="https://www.kernel.org/pub/linux/bluetooth/sbc-$VERSION.tar.xz"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - ${WGET_URL%/*} 2>/dev/null | \
17 sed "/latest/d;/sbc-[0-9]/!d;/tar/!d;s|.*sbc-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure \
24 --prefix=/usr \
25 --disable-static \
26 --disable-tester \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }