wok-6.x annotate paulstretch/receipt @ rev 25565
Reenable rpc for glibc, fix gpxe grub4dos receipt, fix linld url
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Tue May 09 17:24:00 2023 +0000 (19 months ago) |
parents | 4bae0fb81a17 |
children |
rev | line source |
---|---|
pascal@17044 | 1 # SliTaz package receipt. |
pascal@17044 | 2 |
pascal@17044 | 3 PACKAGE="paulstretch" |
pascal@17044 | 4 VERSION="2.2-2" |
pascal@17044 | 5 CATEGORY="multimedia" |
pascal@17044 | 6 SHORT_DESC="A program for stretching the audio." |
pascal@17044 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17044 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@17044 | 9 LICENSE="GPL2" |
pascal@25469 | 10 WEB_SITE="https://hypermammut.sourceforge.net/paulstretch/" |
pascal@17044 | 11 WGET_URL="$SF_MIRROR/hypermammut/$TARBALL" |
pascal@17044 | 12 |
pascal@17044 | 13 DEPENDS="fltk libvorbis audiofile portaudio libmad fftw mxml" |
pascal@17044 | 14 BUILD_DEPENDS="fltk-dev libvorbis-dev audiofile-dev portaudio-dev libmad-dev \ |
pascal@17044 | 15 fftw-dev xorg-dev mxml-dev zlib-dev" |
pascal@17044 | 16 |
pascal@24082 | 17 current_version() |
pascal@24082 | 18 { |
pascal@24082 | 19 wget -O - https://sourceforge.net/projects/hypermammut/files/$PACKAGE 2>/dev/null | \ |
pascal@24082 | 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24082 | 21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" |
pascal@24082 | 22 } |
pascal@24082 | 23 |
pascal@17044 | 24 # Rules to configure and make the package. |
pascal@17044 | 25 compile_rules() |
pascal@17044 | 26 { |
pascal@17044 | 27 sed 's/mxml/& -lz -lvorbis -logg/' compile_linux_fftw.sh | sh |
pascal@17044 | 28 } |
pascal@17044 | 29 |
pascal@17044 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17044 | 31 genpkg_rules() |
pascal@17044 | 32 { |
pascal@17044 | 33 mkdir -p $fs/usr/bin |
pascal@17044 | 34 cp -a $src/paulstretch $fs/usr/bin |
pascal@17044 | 35 } |