wok view paulstretch/receipt @ rev 25707

Up perl-net-pcap (0.21), qtermwidget (0.5.1), youtube-dl-gui (0.3.8)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 05 14:08:34 2024 +0000 (3 months ago)
parents b0069c845544
children 24024e28a27b
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 }