wok-next view spandsp/receipt @ rev 20110

spandsp: race condition
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 29 23:32:41 2017 +0100 (2017-10-29)
parents d3284f9772e9
children 9e5dca6702bf
line source
1 # SliTaz package receipt v2.
3 PACKAGE="spandsp"
4 VERSION="0.0.6"
5 CATEGORY="system-tools"
6 SHORT_DESC="library of DSP functions for telephony."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.soft-switch.org/"
11 WGET_URL="${WEB_SITE}downloads/$PACKAGE/$TARBALL"
13 DEPENDS="tiff zlib jpeg"
14 BUILD_DEPENDS="tiff-dev zlib-dev jpeg-dev"
15 SPLIT="spandsp spandsp-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure --prefix=/usr $CONFIGURE_ARGS &&
21 make &&
22 make -j 1 install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 case $PACKAGE in
29 spandsp)
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 ;;
33 spandsp-dev)
34 CAT="development|library of DSP functions for telephony dev files."
35 DEPENDS="spandsp"
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.*a $fs/usr/lib
38 cp -a $install/usr/include $fs/usr
39 ;;
40 esac
41 }