wok-next annotate mscore/receipt @ rev 21104

make: patch from LFS
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jan 03 11:26:16 2019 +0200 (2019-01-03)
parents d5aab818505e
children
rev   line source
allan316@3199 1 # SliTaz package receipt.
allan316@3199 2
allan316@3199 3 PACKAGE="mscore"
monghitri@13992 4 VERSION="1.2"
allan316@3199 5 CATEGORY="multimedia"
al@21020 6 SHORT_DESC="WYSIWYG music notation program"
allan316@3199 7 MAINTAINER="allan316@gmail.com"
pascal@15583 8 LICENSE="GPL2"
al@21041 9 WEB_SITE="https://musescore.org/en"
al@21020 10
slaxemulator@9183 11 SOURCE="MuseScore"
monghitri@13992 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
slaxemulator@9183 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
allan316@3199 14
al@21020 15 BUILD_DEPENDS="cmake doxygen qmake Qt4-dev portaudio-dev alsa-lib-dev \
al@21020 16 libsndfile-dev"
pascal@15583 17
al@21020 18 compile_rules() {
pascal@17670 19 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lpthread"
slaxemulator@9183 20 export QT_PLUGINS_DIR=/usr/lib/qt/plugins
allan316@3199 21 sed -i "s/usr\/local/usr/" Makefile
al@21020 22
slaxemulator@9183 23 [ -d build ] && make clean
al@21020 24 make -j1 PREFIX=/usr release &&
al@21020 25 make -j1 install
allan316@3199 26 }
allan316@3199 27
al@21020 28 genpkg_rules() {
allan316@3199 29 mkdir -p $fs/usr
pascal@15110 30 cp -a $install/usr/bin $fs/usr
pascal@15110 31 cp -a $install/usr/lib $fs/usr
pascal@15110 32 cp -a $install/usr/share $fs/usr
al@21020 33 DEPENDS="libQtCore libQtGui libQtDesigner libQtScriptTools libQtNetwork \
al@21020 34 libQtSvg libQtXml portaudio libsndfile alsa-lib openssl"
allan316@3199 35 }