wok diff scratch/receipt @ rev 16338
Add scratch + squeak-vm (let childs develop on SliTaz :-)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 12 13:55:15 2014 +0200 (2014-04-12) |
parents | |
children | 90dfef97a8ef |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/scratch/receipt Sat Apr 12 13:55:15 2014 +0200 1.3 @@ -0,0 +1,50 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="scratch" 1.7 +VERSION="1.4.0.7" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Create and share interactive stories, games, music and art." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +LICENSE="GPL2" 1.12 +TARBALL="$PACKAGE-$VERSION.src.tar.gz" 1.13 +WEB_SITE="http://scratch.mit.edu/" 1.14 +WGET_URL="http://download.scratch.mit.edu/$TARBALL" 1.15 +HOST_ARCH="i486 arm" 1.16 + 1.17 +SUGGESTED="scratch-help" 1.18 +DEPENDS="pango shared-mime-info squeak-vm" 1.19 +BUILD_DEPENDS="pango-dev shared-mime-info-dev" 1.20 + 1.21 +# Rules to configure and make the package. 1.22 +compile_rules() 1.23 +{ 1.24 + sed -i 's/-vm-sound-pulse/-vm-sound-ALSA/' src/scratch && 1.25 + make build && 1.26 + # Install 1.27 + mkdir -p ${DESTDIR}/usr/bin \ 1.28 + ${DESTDIR}/usr/lib/scratch \ 1.29 + ${DESTDIR}/usr/share/scratch \ 1.30 + ${DESTDIR}/usr/share/icons/hicolor \ 1.31 + ${DESTDIR}/usr/share/applications \ 1.32 + ${DESTDIR}/usr/share/mime/packages \ 1.33 + ${DESTDIR}/usr/share/icons/hicolor/48x48/apps \ 1.34 + ${DESTDIR}/usr/share/icons/hicolor/48x48/mimetypes && 1.35 + install -m 755 src/scratch ${DESTDIR}/usr/bin/scratch && 1.36 + install -m 644 Scratch.image ${DESTDIR}/usr/lib/scratch/Scratch.image && 1.37 + install -m 644 Scratch.ini ${DESTDIR}/usr/lib/scratch/Scratch.ini && 1.38 + cp src/scratch.desktop ${DESTDIR}/usr/share/applications && 1.39 + cp src/scratch.xml ${DESTDIR}/usr/share/mime/packages && 1.40 + cp -a Plugins ${DESTDIR}/usr/lib/scratch && 1.41 + cp -a locale Media Projects ${DESTDIR}/usr/share/scratch && 1.42 + cp src/icons/48x48/scratch.png \ 1.43 + ${DESTDIR}/usr/share/icons/hicolor/48x48/apps && 1.44 + cp src/icons/48x48/gnome-mime-*.png \ 1.45 + ${DESTDIR}/usr/share/icons/hicolor/48x48/mimetypes 1.46 +} 1.47 + 1.48 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.49 +genpkg_rules() 1.50 +{ 1.51 + mkdir -p $fs 1.52 + cp -a $install/* $fs 1.53 +}