wok-next annotate mscore/receipt @ rev 13992
qt4 up to 4.8.4 - fixed some qt4 dependent package which does not build, upgrading only if necessary, tested razorqt and some apps, all seems to work
author | ernia <monghitri@aruba.it> |
---|---|
date | Mon Feb 11 23:39:16 2013 +0000 (2013-02-11) |
parents | 61bbb7e1c9de |
children | 1ae5963f23df |
rev | line source |
---|---|
allan316@3199 | 1 # SliTaz package receipt. |
allan316@3199 | 2 |
allan316@3199 | 3 PACKAGE="mscore" |
monghitri@13992 | 4 VERSION="1.2" |
allan316@3199 | 5 CATEGORY="multimedia" |
allan316@3199 | 6 SHORT_DESC="a WYSIWYG music notation program" |
allan316@3199 | 7 MAINTAINER="allan316@gmail.com" |
slaxemulator@9183 | 8 DEPENDS="libQtCore libQtGui libQtDesigner libQtScriptTools libQtNetwork libQtSvg \ |
slaxemulator@9183 | 9 libQtXml portaudio libsndfile alsa-lib libssl libcrypto" |
pascal@10516 | 10 BUILD_DEPENDS="cmake doxygen qmake Qt4-dev portaudio-dev alsa-lib-dev libsndfile-dev" |
slaxemulator@9183 | 11 SOURCE="MuseScore" |
monghitri@13992 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
allan316@3199 | 13 WEB_SITE="http://musescore.org" |
slaxemulator@9183 | 14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
allan316@3199 | 15 |
allan316@3199 | 16 # Rules to configure and make the package. |
allan316@3199 | 17 compile_rules() |
allan316@3199 | 18 { |
allan316@3199 | 19 cd $src |
slaxemulator@9183 | 20 export QT_PLUGINS_DIR=/usr/lib/qt/plugins |
allan316@3199 | 21 sed -i "s/usr\/local/usr/" Makefile |
slaxemulator@9183 | 22 [ -d build ] && make clean |
slaxemulator@9183 | 23 make -j1 PREFIX=/usr release && make -j1 install |
allan316@3199 | 24 } |
allan316@3199 | 25 |
allan316@3199 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3199 | 27 genpkg_rules() |
allan316@3199 | 28 { |
allan316@3199 | 29 mkdir -p $fs/usr |
allan316@3199 | 30 cp -a $_pkg/usr/bin $fs/usr |
pascal@3212 | 31 cp -a $_pkg/usr/lib $fs/usr |
allan316@3199 | 32 cp -a $_pkg/usr/share $fs/usr |
allan316@3199 | 33 } |