wok-6.x view spandsp/receipt @ rev 25465

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 01 08:33:11 2022 +0000 (2022-10-01)
parents 45673422e44e
children
line source
1 # SliTaz package receipt.
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="https://web.archive.org/web/20220504064130/https://www.soft-switch.org/"
11 WGET_URL="https://web.archive.org/web/20220329161120if_/https://www.soft-switch.org/downloads/$PACKAGE/$TARBALL"
13 DEPENDS="tiff zlib jpeg"
14 BUILD_DEPENDS="tiff-dev zlib-dev jpeg-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://www.soft-switch.org/downloads/spandsp/ 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure --prefix=/usr $CONFIGURE_ARGS &&
27 make -j1 &&
28 make -j1 install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 }