wok annotate rosegarden/receipt @ rev 25564
Up memtest (6.20)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 11 15:58:49 2023 +0000 (18 months ago) |
parents | a78610b2eb47 |
children | 29df00e1e19d |
rev | line source |
---|---|
pascal@16209 | 1 # SliTaz package receipt. |
pascal@16209 | 2 |
pascal@16209 | 3 PACKAGE="rosegarden" |
pascal@16209 | 4 VERSION="14.02" |
pascal@16209 | 5 CATEGORY="multimedia" |
pascal@16209 | 6 SHORT_DESC="A music composition and editing environment." |
pascal@16209 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16209 | 8 LICENSE="GPL2" |
pascal@16209 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20669 | 10 WEB_SITE="https://www.rosegardenmusic.com/" |
pascal@16209 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@20475 | 12 TAGS="midi" |
pascal@16209 | 13 |
pascal@16209 | 14 DEPENDS="libQtGui libQtXml libQtNetwork libQtCore jack-audio-connection-kit \ |
pascal@16209 | 15 libsndfile liblrdf fftw libsamplerate alsa-lib xorg-libX11 zlib gcc-lib-base \ |
pascal@16996 | 16 libxcb xorg-libXau xorg-libXdmcp lirc liblo" |
pascal@16209 | 17 BUILD_DEPENDS="Qt4-dev ladspa-dev dssi-dev alsa-lib-dev xorg-libSM-dev \ |
pascal@16209 | 18 liblo-dev liblrdf-dev fftw-dev libsndfile-dev libsamplerate-dev xorg-imake \ |
pascal@19583 | 19 xorg-makedepend jack-audio-connection-kit-dev xorg-libX11-dev lirc-dev \ |
pascal@19583 | 20 util-linux-uuid-dev" |
pascal@16209 | 21 |
pascal@24348 | 22 # What is the latest version available today? |
pascal@24348 | 23 current_version() |
pascal@24348 | 24 { |
pascal@24348 | 25 wget -O - https://sourceforge.net/projects/rosegarden/files/rosegarden/ 2>/dev/null | \ |
pascal@24348 | 26 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24348 | 27 sed '/scope="row/!d;s|.*/rosegarden/||;s|/.*||;q' |
pascal@24348 | 28 } |
pascal@24348 | 29 |
pascal@16209 | 30 # Rules to configure and make the package. |
pascal@16209 | 31 compile_rules() |
pascal@16209 | 32 { |
pascal@16210 | 33 touch -d 197001010101 dependencies |
pascal@16209 | 34 ./configure --prefix=/usr \ |
pascal@16209 | 35 --localstatedir=/var \ |
pascal@16209 | 36 --mandir=/usr/share/man \ |
pascal@16209 | 37 $CONFIGURE_ARGS && |
pascal@16209 | 38 make && |
pascal@16209 | 39 make DESTDIR=$DESTDIR install |
pascal@16209 | 40 } |
pascal@16209 | 41 |
pascal@16209 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16209 | 43 genpkg_rules() |
pascal@16209 | 44 { |
al@17261 | 45 mkdir -p $fs/usr/share |
al@17261 | 46 cp -a $install/usr/bin $fs/usr |
al@17261 | 47 cp -a $install/usr/share/icons $fs/usr/share |
pascal@16209 | 48 } |