# SliTaz package receipt.

PACKAGE="libsndfile"
VERSION="1.0.23"
CATEGORY="multimedia"
SHORT_DESC="A C library for reading and writing files containing sampled sound"
MAINTAINER="jozee@slitaz.org"
DEPENDS="alsa-lib flac libvorbis"
BUILD_DEPENDS="alsa-lib alsa-lib-dev flac-dev"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.mega-nerd.com/libsndfile/" 
WGET_URL="$WEB_SITE/files/$TARBALL"

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

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

}