wok-6.x view bluez-alsa/receipt @ rev 22570

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