wok rev 22569

created recipe for bluez-alsa
author Hans-G?nter Theisgen
date Mon Jan 06 07:47:02 2020 +0100 (14 months ago)
parents fa44252c430c
children c90904e4fb5b
files bluez-alsa/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/bluez-alsa/receipt	Mon Jan 06 07:47:02 2020 +0100
     1.3 @@ -0,0 +1,48 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="bluez-alsa"
     1.7 +VERSION="2.0.0"
     1.8 +CATEGORY="multimedia"
     1.9 +TAGS="bluetooth sound"
    1.10 +SHORT_DESC="Bluetooth Audio ALSA Backend."
    1.11 +MAINTAINER="maintainer@slitaz.org"
    1.12 +LICENSE="MIT"
    1.13 +WEB_SITE="https://github.com/Arkq/bluez-alsa"
    1.14 +
    1.15 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 +WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
    1.17 +
    1.18 +DEPENDS="alsa-lib bluez glib libsbc"
    1.19 +BUILD_DEPENDS="alsa-lib-dev autoconf automake bluez-dev glib-dev 
    1.20 +	libsbc-dev libtool"
    1.21 +
    1.22 +CONFIG_FILES="/etc/alsa/conf.d/20-bluealsa.conf"
    1.23 +
    1.24 +# Rules to configure and make the package.
    1.25 +compile_rules()
    1.26 +{
    1.27 +	{
    1.28 +	autoreconf --install &&
    1.29 +	mkdir build &&
    1.30 +	cd build &&
    1.31 +	../configure				\
    1.32 +		--prefix=/usr			\
    1.33 +		--enable-ofono			\
    1.34 +		$CONFIGURE_ARGS &&
    1.35 +	make &&
    1.36 +	make DESTDIR=$DESTDIR install
    1.37 +	} 2>&1 | sed 's/: No such/:  no such/'
    1.38 +}
    1.39 +
    1.40 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.41 +genpkg_rules()
    1.42 +{
    1.43 +	mkdir -p $fs/etc/alsa
    1.44 +	mkdir -p $fs/etc/dbus-1
    1.45 +	mkdir -p $fs/usr/lib/alsa-lib
    1.46 +
    1.47 +	cp -a $install/usr/etc/alsa/conf.d	$fs/etc/alsa
    1.48 +	cp -a $install/etc/dbus-1/system.d	$fs/etc/dbus-1
    1.49 +	cp -a $install/usr/bin			$fs/usr
    1.50 +	cp -a $install/usr/lib/alsa-lib/*.so*	$fs/usr/lib/alsa-lib
    1.51 +}