wok-4.x view mscore/receipt @ rev 3884

fix depends mscore
author Allan Pinto <allan316@gmail.com>
date Wed Aug 12 09:39:16 2009 +0000 (2009-08-12)
parents b0788eda3c6e
children 5b44af8c1257
line source
1 # SliTaz package receipt.
3 PACKAGE="mscore"
4 VERSION="0.9.4"
5 CATEGORY="multimedia"
6 SHORT_DESC="a WYSIWYG music notation program"
7 MAINTAINER="allan316@gmail.com"
8 DEPENDS="libQtCore libQtGui libQtDesigner libQtScript libQtNetwork libQtSvg libQtXml portaudio alsa-lib Qt4-dev"
9 BUILD_DEPENDS="cmake Qt4-dev portaudio-dev alsa-lib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://musescore.org"
12 WGET_URL="http://nchc.dl.sourceforge.net/sourceforge/mscore/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i "s/usr\/local/usr/" Makefile
19 sed -i "s/BUILD_SCRIPT_INTERFACE TRUE/BUILD_SCRIPT_INTERFACE FALSE/" mscore/CMakeLists.txt
20 sed -i "s/BUILD_SCRIPT_DEBUG TRUE/BUILD_SCRIPT_DEBUG FALSE/" mscore/CMakeLists.txt
21 sed -i "s/STATIC_SCRIPT_BINDINGS FALSE/STATIC_SCRIPT_BINDINGS FALSE/" mscore/CMakeLists.txt
22 make clean
23 make && make DESTDIR=$PWD/_pkg 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 }