wok view spandsp/receipt @ rev 5852

freeradius: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 16 23:05:43 2010 +0200 (2010-07-16)
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 }