wok-next annotate spandsp/receipt @ rev 20533

cairo-clock, grub4dos: fix CFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 27 12:50:45 2018 +0200 (2018-03-27)
parents d3284f9772e9
children 9e5dca6702bf
rev   line source
pascal@20099 1 # SliTaz package receipt v2.
pascal@1178 2
pascal@9043 3 PACKAGE="spandsp"
pascal@20099 4 VERSION="0.0.6"
pascal@9043 5 CATEGORY="system-tools"
pascal@9043 6 SHORT_DESC="library of DSP functions for telephony."
pascal@1178 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15096 8 LICENSE="LGPL2.1"
pascal@20099 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@9043 10 WEB_SITE="http://www.soft-switch.org/"
pascal@9043 11 WGET_URL="${WEB_SITE}downloads/$PACKAGE/$TARBALL"
pascal@15096 12
pascal@9043 13 DEPENDS="tiff zlib jpeg"
pascal@15096 14 BUILD_DEPENDS="tiff-dev zlib-dev jpeg-dev"
pascal@20099 15 SPLIT="spandsp spandsp-dev"
pascal@1178 16
pascal@1178 17 # Rules to configure and make the package.
pascal@1178 18 compile_rules()
pascal@1178 19 {
gokhlayeh@11573 20 ./configure --prefix=/usr $CONFIGURE_ARGS &&
pascal@20099 21 make &&
pascal@20110 22 make -j 1 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@20099 28 case $PACKAGE in
pascal@20099 29 spandsp)
pascal@20099 30 mkdir -p $fs/usr/lib
pascal@20099 31 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@20099 32 ;;
pascal@20099 33 spandsp-dev)
pascal@20099 34 CAT="development|library of DSP functions for telephony dev files."
pascal@20099 35 DEPENDS="spandsp"
pascal@20099 36 mkdir -p $fs/usr/lib
pascal@20099 37 cp -a $install/usr/lib/*.*a $fs/usr/lib
pascal@20099 38 cp -a $install/usr/include $fs/usr
pascal@20099 39 ;;
pascal@20099 40 esac
pascal@1178 41 }