wok-next view mscore/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents e6615350078d
children d457c4e37c1b
line source
1 # SliTaz package receipt.
3 PACKAGE="mscore"
4 VERSION="1.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="WYSIWYG music notation program"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://musescore.org/"
11 SOURCE="MuseScore"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="cmake doxygen qmake Qt4-dev portaudio-dev alsa-lib-dev \
16 libsndfile-dev"
18 compile_rules() {
19 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lpthread"
20 export QT_PLUGINS_DIR=/usr/lib/qt/plugins
21 sed -i "s/usr\/local/usr/" Makefile
23 [ -d build ] && make clean
24 make -j1 PREFIX=/usr release &&
25 make -j1 install
26 }
28 genpkg_rules() {
29 mkdir -p $fs/usr
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib $fs/usr
32 cp -a $install/usr/share $fs/usr
33 DEPENDS="libQtCore libQtGui libQtDesigner libQtScriptTools libQtNetwork \
34 libQtSvg libQtXml portaudio libsndfile alsa-lib openssl"
35 }