wok-current rev 3199
added mscore ( musescore )
author | Allan Pinto <allan316@gmail.com> |
---|---|
date | Thu May 28 11:46:34 2009 +0000 (2009-05-28) |
parents | 4d293e5c6206 |
children | 363be972f024 |
files | mscore/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mscore/receipt Thu May 28 11:46:34 2009 +0000 1.3 @@ -0,0 +1,34 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="mscore" 1.7 +VERSION="0.9.4" 1.8 +CATEGORY="multimedia" 1.9 +SHORT_DESC="a WYSIWYG music notation program" 1.10 +MAINTAINER="allan316@gmail.com" 1.11 +DEPENDS="libQtCore libQtGui libQtDesigner" 1.12 +BUILD_DEPENDS="cmake Qt4-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 +WEB_SITE="http://musescore.org" 1.15 +WGET_URL="http://nchc.dl.sourceforge.net/sourceforge/mscore/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + sed -i "s/usr\/local/usr/" Makefile 1.22 + sed -i "s/BUILD_SCRIPT_INTERFACE TRUE/BUILD_SCRIPT_INTERFACE FALSE/" mscore/CMakeLists.txt 1.23 + sed -i "s/BUILD_SCRIPT_DEBUG TRUE/BUILD_SCRIPT_DEBUG FALSE/" mscore/CMakeLists.txt 1.24 + sed -i "s/STATIC_SCRIPT_BINDINGS FALSE/STATIC_SCRIPT_BINDINGS FALSE/" mscore/CMakelists.txt 1.25 + make clean 1.26 + make && make DESTDIR=$PWD/_pkg install 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + mkdir -p $fs/usr 1.33 + cp -a $_pkg/usr/bin $fs/usr 1.34 + cp -a $_pkg/usr/plugins $fs/usr 1.35 + cp -a $_pkg/usr/share $fs/usr 1.36 +} 1.37 +