SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "rosegarden"

# SliTaz package receipt.

PACKAGE="rosegarden"
VERSION="14.02"
CATEGORY="multimedia"
SHORT_DESC="A music composition and editing environment."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="https://www.rosegardenmusic.com/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
TAGS="midi"

DEPENDS="libQtGui libQtXml libQtNetwork libQtCore jack-audio-connection-kit \
libsndfile liblrdf fftw libsamplerate alsa-lib xorg-libX11 zlib gcc-lib-base \
libxcb xorg-libXau xorg-libXdmcp lirc liblo"
BUILD_DEPENDS="Qt4-dev ladspa-dev dssi-dev alsa-lib-dev xorg-libSM-dev \
liblo-dev liblrdf-dev fftw-dev libsndfile-dev libsamplerate-dev xorg-imake \
xorg-makedepend jack-audio-connection-kit-dev xorg-libX11-dev lirc-dev \
util-linux-uuid-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/rosegarden/files/rosegarden/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    sed '/scope="row/!d;s|.*/rosegarden/||;s|/.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    touch -d 197001010101 dependencies
    ./configure --prefix=/usr \
        --localstatedir=/var \
        --mandir=/usr/share/man \
        $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share
    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/share/icons $fs/usr/share
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)