wok annotate mscore/receipt @ rev 3346

Up: transmission (1.71)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Jun 11 16:35:46 2009 +0200 (2009-06-11)
parents ab279febb8ec
children 9028b16098a8
rev   line source
allan316@3199 1 # SliTaz package receipt.
allan316@3199 2
allan316@3199 3 PACKAGE="mscore"
allan316@3199 4 VERSION="0.9.4"
allan316@3199 5 CATEGORY="multimedia"
allan316@3199 6 SHORT_DESC="a WYSIWYG music notation program"
allan316@3199 7 MAINTAINER="allan316@gmail.com"
allan316@3241 8 DEPENDS="libQtCore libQtGui libQtDesigner libQtScript libQtNetwork libQtSvg libQtXml portaudio alsa-lib"
allan316@3241 9 BUILD_DEPENDS="cmake Qt4-dev portaudio-dev alsa-lib-dev"
allan316@3199 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
allan316@3199 11 WEB_SITE="http://musescore.org"
allan316@3199 12 WGET_URL="http://nchc.dl.sourceforge.net/sourceforge/mscore/$TARBALL"
allan316@3199 13
allan316@3199 14 # Rules to configure and make the package.
allan316@3199 15 compile_rules()
allan316@3199 16 {
allan316@3199 17 cd $src
allan316@3199 18 sed -i "s/usr\/local/usr/" Makefile
allan316@3199 19 sed -i "s/BUILD_SCRIPT_INTERFACE TRUE/BUILD_SCRIPT_INTERFACE FALSE/" mscore/CMakeLists.txt
allan316@3199 20 sed -i "s/BUILD_SCRIPT_DEBUG TRUE/BUILD_SCRIPT_DEBUG FALSE/" mscore/CMakeLists.txt
allan316@3240 21 sed -i "s/STATIC_SCRIPT_BINDINGS FALSE/STATIC_SCRIPT_BINDINGS FALSE/" mscore/CMakeLists.txt
allan316@3199 22 make clean
allan316@3199 23 make && make DESTDIR=$PWD/_pkg install
allan316@3199 24 }
allan316@3199 25
allan316@3199 26 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@3199 27 genpkg_rules()
allan316@3199 28 {
allan316@3199 29 mkdir -p $fs/usr
allan316@3199 30 cp -a $_pkg/usr/bin $fs/usr
pascal@3212 31 cp -a $_pkg/usr/lib $fs/usr
allan316@3199 32 cp -a $_pkg/usr/share $fs/usr
allan316@3199 33 }
allan316@3199 34