wok-next annotate spandsp/receipt @ rev 1852
Fix: sudo, keep pr?vious sudoers file.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Dec 14 11:08:31 2008 +0100 (2008-12-14) |
parents | |
children | 8cb683a4d713 |
rev | line source |
---|---|
pascal@1178 | 1 # SliTaz package receipt. |
pascal@1178 | 2 |
pascal@1178 | 3 PACKAGE="spandsp" |
pascal@1178 | 4 VERSION="0.0.4pre15" |
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 |