wok view mscore/receipt @ rev 23956

Up tazpanel (636)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 27 16:29:16 2020 +0000 (2020-09-27)
parents abb91538be8c
children afae00265386
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="https://musescore.org"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="libQtCore libQtGui libQtDesigner libQtScriptTools libQtNetwork \
15 libQtSvg libQtXml portaudio libsndfile alsa-lib libssl libcrypto"
16 BUILD_DEPENDS="cmake doxygen qmake Qt4-dev portaudio-dev alsa-lib-dev \
17 libsndfile-dev freetype-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 export LDFLAGS="$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 }