wok-current annotate libsbc/receipt @ rev 24064

Fix mailsync
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 12 11:07:34 2021 +0000 (2021-06-12)
parents
children 71360a13cd94
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@20751 13 # Rules to configure and make the package.
pascal@20751 14 compile_rules()
pascal@20751 15 {
pascal@20751 16 ./configure \
pascal@20751 17 --prefix=/usr \
pascal@20751 18 --disable-static \
pascal@20751 19 --disable-tester \
pascal@20751 20 $CONFIGURE_ARGS &&
pascal@20751 21 make &&
pascal@20751 22 make DESTDIR=$DESTDIR install
pascal@20751 23 }
pascal@20751 24
pascal@20751 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20751 26 genpkg_rules()
pascal@20751 27 {
pascal@20751 28 mkdir -p $fs/usr/lib
pascal@20751 29 cp -a $install/usr/bin $fs/usr
pascal@20751 30 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@20751 31 }