wok-stable view mscore/receipt @ rev 10728

Fixed all sourced slitaz-dev-tools receipts. The way cook works is it keeps the .hg folder when downloading mecurial sources. By downloading the $VERSION.tar.bz2 and renaming it $SOURCE-$VERSION.tar.bz2 we don't keep the .hg folder in source tarball. Repos will be backup on source dvd anyway so this does save a little bit of space.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 28 21:18:14 2011 +0000 (2011-05-28)
parents e3caaec13bfb
children
line source
1 # SliTaz package receipt.
3 PACKAGE="mscore"
4 VERSION="1.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="a WYSIWYG music notation program"
7 MAINTAINER="allan316@gmail.com"
8 DEPENDS="libQtCore libQtGui libQtDesigner libQtScriptTools libQtNetwork libQtSvg \
9 libQtXml portaudio libsndfile alsa-lib libssl libcrypto"
10 BUILD_DEPENDS="cmake doxygen qmake Qt4-dev portaudio-dev alsa-lib-dev libsndfile-dev"
11 SOURCE="MuseScore"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WEB_SITE="http://musescore.org"
14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 export QT_PLUGINS_DIR=/usr/lib/qt/plugins
21 sed -i "s/usr\/local/usr/" Makefile
22 [ -d build ] && make clean
23 make -j1 PREFIX=/usr release && make -j1 install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib $fs/usr
32 cp -a $_pkg/usr/share $fs/usr
33 }