wok-current annotate spandsp/receipt @ rev 8630
Up: libgudev 166
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Feb 15 03:16:51 2011 +0100 (2011-02-15) |
parents | 3b80d83904fb |
children | dadf43e684cb |
rev | line source |
---|---|
pascal@1178 | 1 # SliTaz package receipt. |
pascal@1178 | 2 |
pascal@1178 | 3 PACKAGE="spandsp" |
pascal@3181 | 4 VERSION="0.0.5" |
pascal@1178 | 5 CATEGORY="system-tools" |
pascal@1178 | 6 SHORT_DESC="library of DSP functions for telephony." |
pascal@1178 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1178 | 8 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@1178 | 9 WEB_SITE="http://www.soft-switch.org/" |
pascal@1178 | 10 WGET_URL="${WEB_SITE}downloads/$PACKAGE/$TARBALL" |
pascal@1178 | 11 DEPENDS="tiff zlib jpeg" |
pascal@1178 | 12 BUILD_DEPENDS="tiff-dev zlib-dev jpeg-dev" |
pascal@1178 | 13 |
pascal@1178 | 14 # Rules to configure and make the package. |
pascal@1178 | 15 compile_rules() |
pascal@1178 | 16 { |
pascal@1178 | 17 [ -e $src ] || ln -s ${PACKAGE}-* $src |
pascal@1178 | 18 cd $src |
pascal@1178 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1178 | 20 --mandir=/usr/share/man $CONFIGURE_ARGS |
pascal@1178 | 21 make |
pascal@1178 | 22 make DESTDIR=$PWD/_pkg install |
pascal@1178 | 23 } |
pascal@1178 | 24 |
pascal@1178 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1178 | 26 genpkg_rules() |
pascal@1178 | 27 { |
pascal@1178 | 28 mkdir -p $fs/usr/lib |
pascal@1178 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@1178 | 30 } |
pascal@1178 | 31 |