wok-6.x view mscore/receipt @ rev 15494
Up: firefox-langpack-id (17.0.10esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Nov 17 16:29:57 2013 +0100 (2013-11-17) |
parents | 68ec33732967 |
children | bb009a6ef036 |
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 DEPENDS="libQtCore libQtGui libQtDesigner libQtScriptTools libQtNetwork libQtSvg \
9 libQtXml portaudio libsndfile alsa-lib libssl libcrypto"
10 BUILD_DEPENDS="cmake doxygen qmake Qt4-dev portaudio-dev alsa-lib-dev libsndfile-dev"
11 SOURCE="MuseScore"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WEB_SITE="http://musescore.org"
14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 export LDFLAGS="-Wl,--copy-dt-needed-entries -lpthread"
21 export QT_PLUGINS_DIR=/usr/lib/qt/plugins
22 sed -i "s/usr\/local/usr/" Makefile
23 [ -d build ] && make clean
24 make -j1 PREFIX=/usr release && make -j1 install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/lib $fs/usr
33 cp -a $install/usr/share $fs/usr
34 }