wok-6.x view bluez-alsa/receipt @ rev 23881
Add utftpd & yaze-ng
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 13 21:34:44 2020 +0000 (2020-07-13) |
parents | 1e19188eb149 |
children | 5ea0ce1cecc0 |
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 --sysconfdir=/etc \
31 --enable-ofono \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
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/etc/alsa
42 mkdir -p $fs/usr/lib/alsa-lib
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/etc/alsa/conf.d $fs/etc/alsa
48 }