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