wok-stable view mscore/receipt @ rev 12442

bash: update version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 08 15:12:31 2014 +0200 (2014-10-08)
parents e3caaec13bfb
children
line source
1 # SliTaz package receipt.
3 PACKAGE="mscore"
4 VERSION="1.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="a WYSIWYG music notation program"
7 MAINTAINER="allan316@gmail.com"
8 DEPENDS="libQtCore libQtGui libQtDesigner libQtScriptTools libQtNetwork libQtSvg \
9 libQtXml portaudio libsndfile alsa-lib libssl libcrypto"
10 BUILD_DEPENDS="cmake doxygen qmake Qt4-dev portaudio-dev alsa-lib-dev libsndfile-dev"
11 SOURCE="MuseScore"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WEB_SITE="http://musescore.org"
14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 export QT_PLUGINS_DIR=/usr/lib/qt/plugins
21 sed -i "s/usr\/local/usr/" Makefile
22 [ -d build ] && make clean
23 make -j1 PREFIX=/usr release && make -j1 install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib $fs/usr
32 cp -a $_pkg/usr/share $fs/usr
33 }