# SliTaz package receipt.

PACKED_SIZE="324.0K"
UNPACKED_SIZE="1.8M"
PACKAGE="alsa-lib"
VERSION="1.1.5"
CATEGORY="multimedia"
SHORT_DESC="Alsa sound libraries."
MAINTAINER="pankso@slitaz.org"
LICENSE="LGPL2.1"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.alsa-project.org/"
WGET_URL="ftp://ftp.alsa-project.org/pub/lib/$TARBALL"
HOST_ARCH="i486 arm"

DEPENDS="linux"

# Rules to configure and make the package.
compile_rules()
{
	./configure --disable-python \
		$CONFIGURE_ARGS &&
	make &&	make -j1 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 $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
}

