wok-next annotate mscore/receipt @ rev 18450
perl-datetime and others: update to perl datetime which required a bunch of other deps to also be updated
author | Nathan Neulinger <nneul@neulinger.org> |
---|---|
date | Sun Sep 27 19:52:03 2015 +0000 (2015-09-27) |
parents | bb009a6ef036 |
children | e6615350078d |
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" |
pascal@15583 | 8 LICENSE="GPL2" |
slaxemulator@9183 | 9 SOURCE="MuseScore" |
monghitri@13992 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
allan316@3199 | 11 WEB_SITE="http://musescore.org" |
slaxemulator@9183 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
allan316@3199 | 13 |
pascal@15583 | 14 DEPENDS="libQtCore libQtGui libQtDesigner libQtScriptTools libQtNetwork libQtSvg \ |
pascal@15583 | 15 libQtXml portaudio libsndfile alsa-lib libssl libcrypto" |
pascal@15583 | 16 BUILD_DEPENDS="cmake doxygen qmake Qt4-dev portaudio-dev alsa-lib-dev libsndfile-dev" |
pascal@15583 | 17 |
allan316@3199 | 18 # Rules to configure and make the package. |
allan316@3199 | 19 compile_rules() |
allan316@3199 | 20 { |
allan316@3199 | 21 cd $src |
pascal@17670 | 22 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lpthread" |
slaxemulator@9183 | 23 export QT_PLUGINS_DIR=/usr/lib/qt/plugins |
allan316@3199 | 24 sed -i "s/usr\/local/usr/" Makefile |
slaxemulator@9183 | 25 [ -d build ] && make clean |
slaxemulator@9183 | 26 make -j1 PREFIX=/usr release && make -j1 install |
allan316@3199 | 27 } |
allan316@3199 | 28 |
allan316@3199 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3199 | 30 genpkg_rules() |
allan316@3199 | 31 { |
allan316@3199 | 32 mkdir -p $fs/usr |
pascal@15110 | 33 cp -a $install/usr/bin $fs/usr |
pascal@15110 | 34 cp -a $install/usr/lib $fs/usr |
pascal@15110 | 35 cp -a $install/usr/share $fs/usr |
allan316@3199 | 36 } |