# SliTaz package receipt.

PACKAGE="spandsp"
VERSION="0.0.5"
CATEGORY="system-tools"
SHORT_DESC="library of DSP functions for telephony."
MAINTAINER="pascal.bellard@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tgz"
WEB_SITE="http://www.soft-switch.org/"
WGET_URL="${WEB_SITE}downloads/$PACKAGE/$TARBALL"
DEPENDS="tiff zlib jpeg"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure --prefix=/usr $CONFIGURE_ARGS &&
	make -j1 &&
	make -j1 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
}