# HG changeset patch # User Pascal Bellard # Date 1217713065 0 # Node ID 3b80d83904fb7acaa0434e7658e8e76424ef6d3d # Parent 8f3422e1b2d20a3b56f44fe5d8a136c0a9285cf6 Add spandsp diff -r 8f3422e1b2d2 -r 3b80d83904fb spandsp-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/spandsp-dev/receipt Sat Aug 02 21:37:45 2008 +0000 @@ -0,0 +1,17 @@ +# SliTaz package receipt. + +PACKAGE="spandsp-dev" +VERSION="0.0.4pre15" +CATEGORY="development" +SHORT_DESC="library of DSP functions for telephony dev files." +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://www.soft-switch.org/" +WANTED="spandsp" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr +} diff -r 8f3422e1b2d2 -r 3b80d83904fb spandsp/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/spandsp/receipt Sat Aug 02 21:37:45 2008 +0000 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="spandsp" +VERSION="0.0.4pre15" +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" +BUILD_DEPENDS="tiff-dev zlib-dev jpeg-dev" + +# Rules to configure and make the package. +compile_rules() +{ + [ -e $src ] || ln -s ${PACKAGE}-* $src + cd $src + ./configure --prefix=/usr --infodir=/usr/share/info \ + --mandir=/usr/share/man $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 +} +