wok-next view mscore/receipt @ rev 18472

ghostscript, libv4l, slitaz-base-files: fix installation (thanks llev)
ghostscript: fix package upgrades;
libv4l: check multiple preloads in case of upgrade, not add preload if installation not finished/fails;
slitaz-base-files: not to overwrite real sudo.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Oct 05 01:10:26 2015 +0300 (2015-10-05)
parents bb009a6ef036
children e6615350078d
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 libQtSvg \
15 libQtXml portaudio libsndfile alsa-lib libssl libcrypto"
16 BUILD_DEPENDS="cmake doxygen qmake Qt4-dev portaudio-dev alsa-lib-dev libsndfile-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
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 }