wok view mscore/receipt @ rev 3236
Fix: rrdtool, enable perl site configuration
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri May 29 23:36:34 2009 +0200 (2009-05-29) |
parents | 1bcf7e220e2c |
children | ab279febb8ec |
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"
9 BUILD_DEPENDS="cmake Qt4-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 }