# SliTaz package receipt. PACKAGE="mscore" VERSION="1.0" CATEGORY="multimedia" SHORT_DESC="a WYSIWYG music notation program" MAINTAINER="allan316@gmail.com" DEPENDS="libQtCore libQtGui libQtDesigner libQtScriptTools libQtNetwork libQtSvg \ libQtXml portaudio libsndfile alsa-lib libssl libcrypto" BUILD_DEPENDS="cmake doxygen qmake Qt4-dev portaudio-dev alsa-lib-dev libsndfile-dev" SOURCE="MuseScore" TARBALL="$SOURCE-$VERSION.tar.bz2" WEB_SITE="http://musescore.org" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src export QT_PLUGINS_DIR=/usr/lib/qt/plugins sed -i "s/usr\/local/usr/" Makefile [ -d build ] && make clean make -j1 PREFIX=/usr release && make -j1 install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/lib $fs/usr cp -a $_pkg/usr/share $fs/usr }