wok-next rev 20718
paulstretch: fix build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun May 27 15:09:21 2018 +0300 (2018-05-27) |
parents | 5d10d266ccef |
children | 599c2faa5148 |
files | paulstretch/receipt |
line diff
1.1 --- a/paulstretch/receipt Sun May 27 15:00:58 2018 +0300 1.2 +++ b/paulstretch/receipt Sun May 27 15:09:21 2018 +0300 1.3 @@ -1,28 +1,26 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="paulstretch" 1.8 VERSION="2.2-2" 1.9 CATEGORY="multimedia" 1.10 -SHORT_DESC="A program for stretching the audio." 1.11 +SHORT_DESC="A program for stretching the audio" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 LICENSE="GPL2" 1.15 WEB_SITE="http://hypermammut.sourceforge.net/paulstretch/" 1.16 + 1.17 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.18 WGET_URL="$SF_MIRROR/hypermammut/$TARBALL" 1.19 1.20 -DEPENDS="fltk libvorbis audiofile portaudio libmad fftw mxml" 1.21 BUILD_DEPENDS="fltk-dev libvorbis-dev audiofile-dev portaudio-dev libmad-dev \ 1.22 fftw-dev xorg-dev mxml-dev zlib-dev" 1.23 1.24 -# Rules to configure and make the package. 1.25 -compile_rules() 1.26 -{ 1.27 +compile_rules() { 1.28 sed 's/mxml/& -lz -lvorbis -logg/' compile_linux_fftw.sh | sh 1.29 + 1.30 + install -Dm755 $src/paulstretch $install/usr/bin/paulstretch 1.31 } 1.32 1.33 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 -genpkg_rules() 1.35 -{ 1.36 - mkdir -p $fs/usr/bin 1.37 - cp -a $src/paulstretch $fs/usr/bin 1.38 +genpkg_rules() { 1.39 + copy @std 1.40 + DEPENDS="audiofile fftw fltk libmad libogg libvorbis mxml portaudio zlib" 1.41 }