wok view spandsp/receipt @ rev 5012
rm rpm in for loop to save RAM (thanks Eric)
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Sun Feb 28 19:50:05 2010 +0000 (2010-02-28) |
parents | 3b80d83904fb |
children | dadf43e684cb |
line source
1 # SliTaz package receipt.
3 PACKAGE="spandsp"
4 VERSION="0.0.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="library of DSP functions for telephony."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tgz"
9 WEB_SITE="http://www.soft-switch.org/"
10 WGET_URL="${WEB_SITE}downloads/$PACKAGE/$TARBALL"
11 DEPENDS="tiff zlib jpeg"
12 BUILD_DEPENDS="tiff-dev zlib-dev jpeg-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 [ -e $src ] || ln -s ${PACKAGE}-* $src
18 cd $src
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man $CONFIGURE_ARGS
21 make
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 }