wok-6.x view mscore/receipt @ rev 3787
Up: python-docutils (snapshot)
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Fri Jul 31 23:29:39 2009 +0000 (2009-07-31) |
parents | ab279febb8ec |
children | 9028b16098a8 |
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"
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 }