wok-6.x view mscore/receipt @ rev 23912

linux: add CONFIG_I2C_HID
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 16 10:22:39 2020 +0000 (2020-08-16)
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 }