wok annotate mscore/receipt @ rev 5055
libdevmapper: reconfigure udev after addition of new rule
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Sat Mar 06 19:02:39 2010 +0000 (2010-03-06) |
parents | 9028b16098a8 |
children | e3caaec13bfb |
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" |
pascal@5004 | 8 DEPENDS="libQtCore libQtGui libQtDesigner libQtScript libQtNetwork libQtSvg \ |
pascal@5004 | 9 libQtXml portaudio alsa-lib Qt4-dev libssl libcrypto" |
allan316@3241 | 10 BUILD_DEPENDS="cmake Qt4-dev portaudio-dev alsa-lib-dev" |
allan316@3199 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
allan316@3199 | 12 WEB_SITE="http://musescore.org" |
allan316@3199 | 13 WGET_URL="http://nchc.dl.sourceforge.net/sourceforge/mscore/$TARBALL" |
allan316@3199 | 14 |
allan316@3199 | 15 # Rules to configure and make the package. |
allan316@3199 | 16 compile_rules() |
allan316@3199 | 17 { |
allan316@3199 | 18 cd $src |
allan316@3199 | 19 sed -i "s/usr\/local/usr/" Makefile |
allan316@3199 | 20 sed -i "s/BUILD_SCRIPT_INTERFACE TRUE/BUILD_SCRIPT_INTERFACE FALSE/" mscore/CMakeLists.txt |
allan316@3199 | 21 sed -i "s/BUILD_SCRIPT_DEBUG TRUE/BUILD_SCRIPT_DEBUG FALSE/" mscore/CMakeLists.txt |
allan316@3240 | 22 sed -i "s/STATIC_SCRIPT_BINDINGS FALSE/STATIC_SCRIPT_BINDINGS FALSE/" mscore/CMakeLists.txt |
allan316@3199 | 23 make clean |
allan316@3199 | 24 make && make DESTDIR=$PWD/_pkg install |
allan316@3199 | 25 } |
allan316@3199 | 26 |
allan316@3199 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3199 | 28 genpkg_rules() |
allan316@3199 | 29 { |
allan316@3199 | 30 mkdir -p $fs/usr |
allan316@3199 | 31 cp -a $_pkg/usr/bin $fs/usr |
pascal@3212 | 32 cp -a $_pkg/usr/lib $fs/usr |
allan316@3199 | 33 cp -a $_pkg/usr/share $fs/usr |
allan316@3199 | 34 } |
allan316@3199 | 35 |