wok-6.x annotate libsbc/receipt @ rev 21297
updated libshout and libshout-dev (2.2.1 -> 2.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 17 16:47:19 2019 +0100 (2019-04-17) |
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 } |