wok-current annotate paulstretch/receipt @ rev 25046
Up glusterfs (10.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 04 12:04:57 2022 +0000 (2022-06-04) |
parents | 4ec61c378631 |
children | b0069c845544 |
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@17044 | 10 WEB_SITE="http://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 } |