wok annotate bluez-alsa/receipt @ rev 24740

updated libexif-gtk and libexif-gtk-dev (0.4.0 -> 0.5.0)
author Hans-G?nter Theisgen
date Wed Mar 16 10:07:05 2022 +0100 (2022-03-16)
parents 5ea0ce1cecc0
children
rev   line source
Hans-G?nter@22569 1 # SliTaz package receipt.
Hans-G?nter@22569 2
Hans-G?nter@22569 3 PACKAGE="bluez-alsa"
Hans-G?nter@22569 4 VERSION="2.0.0"
Hans-G?nter@22569 5 CATEGORY="multimedia"
Hans-G?nter@22569 6 TAGS="bluetooth sound"
Hans-G?nter@22569 7 SHORT_DESC="Bluetooth Audio ALSA Backend."
Hans-G?nter@22569 8 MAINTAINER="maintainer@slitaz.org"
Hans-G?nter@22569 9 LICENSE="MIT"
Hans-G?nter@22569 10 WEB_SITE="https://github.com/Arkq/bluez-alsa"
Hans-G?nter@22569 11
Hans-G?nter@22569 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22569 13 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
Hans-G?nter@22569 14
Hans-G?nter@22569 15 DEPENDS="alsa-lib bluez glib libsbc"
Hans-G?nter@22569 16 BUILD_DEPENDS="alsa-lib-dev autoconf automake bluez-dev glib-dev
Hans-G?nter@22569 17 libsbc-dev libtool"
Hans-G?nter@22569 18
Hans-G?nter@22585 19 CONFIG_FILES="/usr/share/alsa/conf.d/20-bluealsa.conf"
Hans-G?nter@22569 20
pascal@24055 21 current_version()
pascal@24055 22 {
pascal@24299 23 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
pascal@24055 24 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 25 }
pascal@24055 26
Hans-G?nter@22569 27 # Rules to configure and make the package.
Hans-G?nter@22569 28 compile_rules()
Hans-G?nter@22569 29 {
pascal@22581 30 mkdir m4 2> /dev/null
Hans-G?nter@22569 31 autoreconf --install &&
Hans-G?nter@22569 32 mkdir build &&
Hans-G?nter@22569 33 cd build &&
Hans-G?nter@22569 34 ../configure \
Hans-G?nter@22569 35 --prefix=/usr \
pascal@23873 36 --sysconfdir=/etc \
Hans-G?nter@22569 37 --enable-ofono \
Hans-G?nter@22569 38 $CONFIGURE_ARGS &&
Hans-G?nter@22569 39 make &&
Hans-G?nter@22569 40 make DESTDIR=$DESTDIR install
Hans-G?nter@22569 41 }
Hans-G?nter@22569 42
Hans-G?nter@22569 43 # Rules to gen a SliTaz package suitable for Tazpkg.
Hans-G?nter@22569 44 genpkg_rules()
Hans-G?nter@22569 45 {
Hans-G?nter@22569 46 mkdir -p $fs/etc/dbus-1
pascal@23873 47 mkdir -p $fs/etc/alsa
Hans-G?nter@22569 48 mkdir -p $fs/usr/lib/alsa-lib
Hans-G?nter@22569 49
Hans-G?nter@22570 50 cp -a $install/etc/dbus-1/system.d $fs/etc/dbus-1
Hans-G?nter@22570 51 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22570 52 cp -a $install/usr/lib/alsa-lib/*.so* $fs/usr/lib/alsa-lib
pascal@23873 53 cp -a $install/etc/alsa/conf.d $fs/etc/alsa
Hans-G?nter@22569 54 }