# SliTaz package receipt.

PACKAGE="alsa-plugins"
VERSION="1.0.23"
CATEGORY="multimedia"
SHORT_DESC="Alsa sound system additionnal plugins."
MAINTAINER="pankso@slitaz.org"
DEPENDS="alsa-lib libsamplerate"
BUILD_DEPENDS="pkg-config alsa-lib-dev"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.alsa-project.org/"
WGET_URL="ftp://ftp.alsa-project.org/pub/plugins/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure \
		--prefix=/usr \
		$CONFIGURE_ARGS &&
	make &&
	make -j1 DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/lib/alsa-lib
	cp -a $_pkg/usr/lib/alsa-lib/*.so $fs/usr/lib/alsa-lib
}