wok view paulstretch/receipt @ rev 25607

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 19 13:00:59 2023 +0000 (10 months ago)
parents b0069c845544
children
line source
1 # SliTaz package receipt.
3 PACKAGE="paulstretch"
4 VERSION="2.2-2"
5 CATEGORY="multimedia"
6 SHORT_DESC="A program for stretching the audio."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 LICENSE="GPL2"
10 WEB_SITE="https://hypermammut.sourceforge.net/paulstretch/"
11 WGET_URL="$SF_MIRROR/hypermammut/$TARBALL"
13 DEPENDS="fltk libvorbis audiofile portaudio libmad fftw mxml"
14 BUILD_DEPENDS="fltk-dev libvorbis-dev audiofile-dev portaudio-dev libmad-dev \
15 fftw-dev xorg-dev mxml-dev zlib-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/hypermammut/files/$PACKAGE 2>/dev/null | \
21 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
22 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed 's/mxml/& -lz -lvorbis -logg/' compile_linux_fftw.sh | sh
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin
35 cp -a $src/paulstretch $fs/usr/bin
36 }