wok-6.x view paulstretch/receipt @ rev 25476

Up foomatic-db-nonfree (20221012)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 13 16:28:13 2022 +0000 (2022-10-13)
parents 4bae0fb81a17
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 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/hypermammut/files/$PACKAGE 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed 's/mxml/& -lz -lvorbis -logg/' compile_linux_fftw.sh | sh
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin
34 cp -a $src/paulstretch $fs/usr/bin
35 }