wok view spandsp/receipt @ rev 1540
wormux: hack compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 10 14:12:27 2008 +0000 (2008-10-10) |
parents | |
children | 8cb683a4d713 |
line source
1 # SliTaz package receipt.
3 PACKAGE="spandsp"
4 VERSION="0.0.4pre15"
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 }