wok view mscore/receipt @ rev 8991
dahdi-linux: kernel 2.6.37 fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 03 11:26:54 2011 +0100 (2011-03-03) |
parents | 9028b16098a8 |
children | e3caaec13bfb |
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 \
9 libQtXml portaudio alsa-lib Qt4-dev libssl libcrypto"
10 BUILD_DEPENDS="cmake Qt4-dev portaudio-dev alsa-lib-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://musescore.org"
13 WGET_URL="http://nchc.dl.sourceforge.net/sourceforge/mscore/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i "s/usr\/local/usr/" Makefile
20 sed -i "s/BUILD_SCRIPT_INTERFACE TRUE/BUILD_SCRIPT_INTERFACE FALSE/" mscore/CMakeLists.txt
21 sed -i "s/BUILD_SCRIPT_DEBUG TRUE/BUILD_SCRIPT_DEBUG FALSE/" mscore/CMakeLists.txt
22 sed -i "s/STATIC_SCRIPT_BINDINGS FALSE/STATIC_SCRIPT_BINDINGS FALSE/" mscore/CMakeLists.txt
23 make clean
24 make && make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib $fs/usr
33 cp -a $_pkg/usr/share $fs/usr
34 }