wok view bluez-alsa/receipt @ rev 24742

updated libffcall (2.2 -> 2.4)
author Hans-G?nter Theisgen
date Wed Mar 16 10:31:26 2022 +0100 (2022-03-16)
parents 5ea0ce1cecc0
children
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="/usr/share/alsa/conf.d/20-bluealsa.conf"
21 current_version()
22 {
23 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
24 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 mkdir m4 2> /dev/null
31 autoreconf --install &&
32 mkdir build &&
33 cd build &&
34 ../configure \
35 --prefix=/usr \
36 --sysconfdir=/etc \
37 --enable-ofono \
38 $CONFIGURE_ARGS &&
39 make &&
40 make DESTDIR=$DESTDIR install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/etc/dbus-1
47 mkdir -p $fs/etc/alsa
48 mkdir -p $fs/usr/lib/alsa-lib
50 cp -a $install/etc/dbus-1/system.d $fs/etc/dbus-1
51 cp -a $install/usr/bin $fs/usr
52 cp -a $install/usr/lib/alsa-lib/*.so* $fs/usr/lib/alsa-lib
53 cp -a $install/etc/alsa/conf.d $fs/etc/alsa
54 }