wok-next view mscore/receipt @ rev 12312
Rename razor-qt to razorqt (Follow https://github.com/Razor-qt/razor-qt/wiki/Packaging)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 17 14:21:40 2012 +0200 (2012-04-17) |
parents | e3caaec13bfb |
children | 68ec33732967 |
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 }