wok-current view bluez-alsa/receipt @ rev 23856
codeblocks: use wxWidgets and gcc49
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Tue Jun 16 23:39:15 2020 -0400 (2020-06-16) |
parents | db6ba24c01e2 |
children | 5317a720eaa1 |
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 # Rules to configure and make the package.
22 compile_rules()
23 {
24 mkdir m4 2> /dev/null
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 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/etc/dbus-1
40 mkdir -p $fs/usr/lib/alsa-lib
41 mkdir -p $fs/usr/share/alsa
43 cp -a $install/etc/dbus-1/system.d $fs/etc/dbus-1
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/lib/alsa-lib/*.so* $fs/usr/lib/alsa-lib
46 cp -a $install/usr/share/alsa/alsa.conf.d $fs/usr/share/alsa
47 }