wok view mscore/receipt @ rev 3207
added centerim console based IM
author | Allan Pinto <allan316@gmail.com> |
---|---|
date | Thu May 28 12:03:29 2009 +0000 (2009-05-28) |
parents | |
children | 1bcf7e220e2c |
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"
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/plugins $fs/usr
32 cp -a $_pkg/usr/share $fs/usr
33 }