# HG changeset patch # User Hans-G?nter Theisgen # Date 1659802760 -3600 # Node ID 93c1e93251138956a5aa118bbe54078d68dedaa7 # Parent d22517d768288e429e4d68e2ff5ff57f8ffe5337 added recipes for alsa-lib and alsa-lib-dev diff -r d22517d76828 -r 93c1e9325113 alsa-lib-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/alsa-lib-dev/receipt Sat Aug 06 17:19:20 2022 +0100 @@ -0,0 +1,23 @@ +# SliTaz package receipt. + +PACKAGE="alsa-lib-dev" +VERSION="1.2.7" +CATEGORY="development" +SHORT_DESC="Alsa sound libraries - development files." +MAINTAINER="pankso@slitaz.org" +LICENSE="LGPL2.1" +WEB_SITE="https://www.alsa-project.org/" + +DEPENDS="alsa-lib pkg-config" +WANTED="alsa-lib" + +HOST_ARCH="i486 arm" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cook_copy_folders aclocal + cook_copy_folders include + cook_copy_folders pkgconfig + cook_copy_files *.*a +} diff -r d22517d76828 -r 93c1e9325113 alsa-lib/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/alsa-lib/receipt Sat Aug 06 17:19:20 2022 +0100 @@ -0,0 +1,48 @@ +# SliTaz package receipt. + +PACKAGE="alsa-lib" +VERSION="1.2.7" +CATEGORY="multimedia" +SHORT_DESC="Alsa sound libraries." +MAINTAINER="pankso@slitaz.org" +LICENSE="LGPL2.1" +WEB_SITE="https://www.alsa-project.org/wiki/Main_Page" + +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WGET_URL="ftp://ftp.alsa-project.org/pub/lib/$TARBALL" + +SUGGESTED="alsa-ucm-conf" +DEPENDS="linux" + +HOST_ARCH="i486 arm" + +current_version() +{ + wget -O - ${WEB_SITE}wiki/Download 2>/dev/null | \ + sed '/alsa-lib-/!d;s|.*alsa-lib-||;s|.tar.*||;q' +} + +# Rules to configure and make the package. +compile_rules() +{ + ./configure \ + --disable-python \ + $CONFIGURE_ARGS && + make && + make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + # Enable software mixing for multiple audio streams + mkdir -p $fs/etc + cp $stuff/asound.conf $fs/etc + + mkdir -p $fs/usr/lib + mkdir -p $fs/usr/share + + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/share/alsa $fs/usr/share +}