wok-undigest rev 1234

added recipes for alsa-lib and alsa-lib-dev
author Hans-G?nter Theisgen
date Sat Aug 06 17:19:20 2022 +0100 (21 months ago)
parents d22517d76828
children c2b5548ad270
files alsa-lib-dev/receipt alsa-lib/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/alsa-lib-dev/receipt	Sat Aug 06 17:19:20 2022 +0100
     1.3 @@ -0,0 +1,23 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="alsa-lib-dev"
     1.7 +VERSION="1.2.7"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Alsa sound libraries - development files."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +LICENSE="LGPL2.1"
    1.12 +WEB_SITE="https://www.alsa-project.org/"
    1.13 +
    1.14 +DEPENDS="alsa-lib pkg-config"
    1.15 +WANTED="alsa-lib"
    1.16 +
    1.17 +HOST_ARCH="i486 arm"
    1.18 +
    1.19 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.20 +genpkg_rules()
    1.21 +{
    1.22 +	cook_copy_folders	aclocal
    1.23 +	cook_copy_folders	include
    1.24 +	cook_copy_folders	pkgconfig
    1.25 +	cook_copy_files		*.*a
    1.26 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/alsa-lib/receipt	Sat Aug 06 17:19:20 2022 +0100
     2.3 @@ -0,0 +1,48 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="alsa-lib"
     2.7 +VERSION="1.2.7"
     2.8 +CATEGORY="multimedia"
     2.9 +SHORT_DESC="Alsa sound libraries."
    2.10 +MAINTAINER="pankso@slitaz.org"
    2.11 +LICENSE="LGPL2.1"
    2.12 +WEB_SITE="https://www.alsa-project.org/wiki/Main_Page"
    2.13 +
    2.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.15 +WGET_URL="ftp://ftp.alsa-project.org/pub/lib/$TARBALL"
    2.16 +
    2.17 +SUGGESTED="alsa-ucm-conf"
    2.18 +DEPENDS="linux"
    2.19 +
    2.20 +HOST_ARCH="i486 arm"
    2.21 +
    2.22 +current_version()
    2.23 +{
    2.24 +	wget -O - ${WEB_SITE}wiki/Download 2>/dev/null | \
    2.25 +	sed '/alsa-lib-/!d;s|.*alsa-lib-||;s|.tar.*||;q'
    2.26 +}
    2.27 +
    2.28 +# Rules to configure and make the package.
    2.29 +compile_rules()
    2.30 +{
    2.31 +	./configure			\
    2.32 +		--disable-python	\
    2.33 +		$CONFIGURE_ARGS &&
    2.34 +	make &&
    2.35 +	make install
    2.36 +}
    2.37 +
    2.38 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.39 +genpkg_rules()
    2.40 +{
    2.41 +	# Enable software mixing for multiple audio streams
    2.42 +	mkdir -p $fs/etc
    2.43 +	cp $stuff/asound.conf		$fs/etc
    2.44 +
    2.45 +	mkdir -p $fs/usr/lib
    2.46 +	mkdir -p $fs/usr/share
    2.47 +
    2.48 +	cp -a $install/usr/bin		$fs/usr
    2.49 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    2.50 +	cp -a $install/usr/share/alsa	$fs/usr/share
    2.51 +}