wok view mscore/receipt @ rev 15288
pkg-config: remove a wrong error trigger
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 26 17:57:02 2013 +0000 (2013-09-26) |
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 }