wok-6.x annotate bluez-alsa/receipt @ rev 22577
updated cabextract (1.9 -> 1.9.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jan 06 16:52:55 2020 +0100 (2020-01-06) |
parents | ed417b4ba063 |
children | db6ba24c01e2 |
rev | line source |
---|---|
Hans-G?nter@22569 | 1 # SliTaz package receipt. |
Hans-G?nter@22569 | 2 |
Hans-G?nter@22569 | 3 PACKAGE="bluez-alsa" |
Hans-G?nter@22569 | 4 VERSION="2.0.0" |
Hans-G?nter@22569 | 5 CATEGORY="multimedia" |
Hans-G?nter@22569 | 6 TAGS="bluetooth sound" |
Hans-G?nter@22569 | 7 SHORT_DESC="Bluetooth Audio ALSA Backend." |
Hans-G?nter@22569 | 8 MAINTAINER="maintainer@slitaz.org" |
Hans-G?nter@22569 | 9 LICENSE="MIT" |
Hans-G?nter@22569 | 10 WEB_SITE="https://github.com/Arkq/bluez-alsa" |
Hans-G?nter@22569 | 11 |
Hans-G?nter@22569 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22569 | 13 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
Hans-G?nter@22569 | 14 |
Hans-G?nter@22569 | 15 DEPENDS="alsa-lib bluez glib libsbc" |
Hans-G?nter@22569 | 16 BUILD_DEPENDS="alsa-lib-dev autoconf automake bluez-dev glib-dev |
Hans-G?nter@22569 | 17 libsbc-dev libtool" |
Hans-G?nter@22569 | 18 |
Hans-G?nter@22569 | 19 CONFIG_FILES="/etc/alsa/conf.d/20-bluealsa.conf" |
Hans-G?nter@22569 | 20 |
Hans-G?nter@22569 | 21 # Rules to configure and make the package. |
Hans-G?nter@22569 | 22 compile_rules() |
Hans-G?nter@22569 | 23 { |
Hans-G?nter@22569 | 24 { |
Hans-G?nter@22569 | 25 autoreconf --install && |
Hans-G?nter@22569 | 26 mkdir build && |
Hans-G?nter@22569 | 27 cd build && |
Hans-G?nter@22569 | 28 ../configure \ |
Hans-G?nter@22569 | 29 --prefix=/usr \ |
Hans-G?nter@22569 | 30 --enable-ofono \ |
Hans-G?nter@22569 | 31 $CONFIGURE_ARGS && |
Hans-G?nter@22569 | 32 make && |
Hans-G?nter@22569 | 33 make DESTDIR=$DESTDIR install |
Hans-G?nter@22569 | 34 } 2>&1 | sed 's/: No such/: no such/' |
Hans-G?nter@22569 | 35 } |
Hans-G?nter@22569 | 36 |
Hans-G?nter@22569 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@22569 | 38 genpkg_rules() |
Hans-G?nter@22569 | 39 { |
Hans-G?nter@22569 | 40 mkdir -p $fs/etc/dbus-1 |
Hans-G?nter@22569 | 41 mkdir -p $fs/usr/lib/alsa-lib |
Hans-G?nter@22570 | 42 mkdir -p $fs/usr/share/alsa |
Hans-G?nter@22569 | 43 |
Hans-G?nter@22570 | 44 cp -a $install/etc/dbus-1/system.d $fs/etc/dbus-1 |
Hans-G?nter@22570 | 45 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22570 | 46 cp -a $install/usr/lib/alsa-lib/*.so* $fs/usr/lib/alsa-lib |
Hans-G?nter@22570 | 47 cp -a $install/usr/share/alsa/alsa.conf.d $fs/usr/share/alsa |
Hans-G?nter@22569 | 48 } |