wok-6.x annotate spandsp/receipt @ rev 24777

jack1: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 19 16:54:56 2022 +0000 (2022-03-19)
parents 78a46345f6bb
children 45673422e44e
rev   line source
pascal@1178 1 # SliTaz package receipt.
pascal@1178 2
pascal@9043 3 PACKAGE="spandsp"
pascal@20107 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@20107 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@24465 10 WEB_SITE="https://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@1178 15
pascal@24465 16 # What is the latest version available today?
pascal@24465 17 current_version()
pascal@24465 18 {
pascal@24465 19 wget -O - https://www.soft-switch.org/downloads/spandsp/ 2>/dev/null | \
pascal@24465 20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24465 21 }
pascal@24465 22
pascal@1178 23 # Rules to configure and make the package.
pascal@1178 24 compile_rules()
pascal@1178 25 {
gokhlayeh@11573 26 ./configure --prefix=/usr $CONFIGURE_ARGS &&
pascal@9048 27 make -j1 &&
pascal@9048 28 make -j1 install
pascal@1178 29 }
pascal@1178 30
pascal@1178 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1178 32 genpkg_rules()
pascal@1178 33 {
pascal@9043 34 mkdir -p $fs/usr/lib
pascal@15096 35 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@1178 36 }