wok-next view mscore/receipt @ rev 16630

ARM: add setserial
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 11 11:24:26 2014 +0200 (2014-05-11)
parents 1ae5963f23df
children 17e313b5b9c1
line source
1 # SliTaz package receipt.
3 PACKAGE="mscore"
4 VERSION="1.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="a WYSIWYG music notation program"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="GPL2"
9 SOURCE="MuseScore"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://musescore.org"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="libQtCore libQtGui libQtDesigner libQtScriptTools libQtNetwork libQtSvg \
15 libQtXml portaudio libsndfile alsa-lib libssl libcrypto"
16 BUILD_DEPENDS="cmake doxygen qmake Qt4-dev portaudio-dev alsa-lib-dev libsndfile-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 export LDFLAGS="-Wl,--copy-dt-needed-entries -lpthread"
23 export QT_PLUGINS_DIR=/usr/lib/qt/plugins
24 sed -i "s/usr\/local/usr/" Makefile
25 [ -d build ] && make clean
26 make -j1 PREFIX=/usr release && make -j1 install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/lib $fs/usr
35 cp -a $install/usr/share $fs/usr
36 }