wok view libsbc/receipt @ rev 25428

updated xarchiver (0.5.4.14 -> 0.5.4.18)
author Hans-G?nter Theisgen
date Thu Aug 18 17:12:42 2022 +0100 (2022-08-18)
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 }