wok-current view mscore/receipt @ rev 20266
linux-module-headers: add include/linux/version.h (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 15 18:29:25 2018 +0100 (2018-03-15) |
parents | 17e313b5b9c1 |
children | 6e8b1bcb30e2 |
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 \
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 }