wok-current view paulstretch/receipt @ rev 25409
updated whois (5.5.6 -> 5.5.13)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Aug 03 17:56:22 2022 +0100 (2022-08-03) |
parents | 4ec61c378631 |
children | b0069c845544 |
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="http://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 }