wok-current annotate spandsp/receipt @ rev 25594
Use default gcc 6.3 for asunder
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Aug 31 19:10:51 2023 +0000 (14 months ago) |
parents | 45673422e44e |
children |
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@25178 | 10 WEB_SITE="https://web.archive.org/web/20220504064130/https://www.soft-switch.org/" |
pascal@25178 | 11 WGET_URL="https://web.archive.org/web/20220329161120if_/https://www.soft-switch.org/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 } |