wok 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 | 6f4ea1e9ebdf |
children | ee9478b37d1d |
files | scratch-help/receipt scratch/receipt squeak-vm/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/scratch-help/receipt Sat Apr 12 13:55:15 2014 +0200 1.3 @@ -0,0 +1,18 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="scratch-help" 1.7 +VERSION="1.4.0.7" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Scratch Help" 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +WEB_SITE="http://www.slitaz.org/" 1.12 + 1.13 +WANTED="scratch" 1.14 +DEPENDS="scratch" 1.15 + 1.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.17 +genpkg_rules() 1.18 +{ 1.19 + mkdir -p $fs/usr/share/scratch 1.20 + cp -rp ${src}/Help $fs/usr/share/scratch 1.21 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/scratch/receipt Sat Apr 12 13:55:15 2014 +0200 2.3 @@ -0,0 +1,50 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="scratch" 2.7 +VERSION="1.4.0.7" 2.8 +CATEGORY="network" 2.9 +SHORT_DESC="Create and share interactive stories, games, music and art." 2.10 +MAINTAINER="pankso@slitaz.org" 2.11 +LICENSE="GPL2" 2.12 +TARBALL="$PACKAGE-$VERSION.src.tar.gz" 2.13 +WEB_SITE="http://scratch.mit.edu/" 2.14 +WGET_URL="http://download.scratch.mit.edu/$TARBALL" 2.15 +HOST_ARCH="i486 arm" 2.16 + 2.17 +SUGGESTED="scratch-help" 2.18 +DEPENDS="pango shared-mime-info squeak-vm" 2.19 +BUILD_DEPENDS="pango-dev shared-mime-info-dev" 2.20 + 2.21 +# Rules to configure and make the package. 2.22 +compile_rules() 2.23 +{ 2.24 + sed -i 's/-vm-sound-pulse/-vm-sound-ALSA/' src/scratch && 2.25 + make build && 2.26 + # Install 2.27 + mkdir -p ${DESTDIR}/usr/bin \ 2.28 + ${DESTDIR}/usr/lib/scratch \ 2.29 + ${DESTDIR}/usr/share/scratch \ 2.30 + ${DESTDIR}/usr/share/icons/hicolor \ 2.31 + ${DESTDIR}/usr/share/applications \ 2.32 + ${DESTDIR}/usr/share/mime/packages \ 2.33 + ${DESTDIR}/usr/share/icons/hicolor/48x48/apps \ 2.34 + ${DESTDIR}/usr/share/icons/hicolor/48x48/mimetypes && 2.35 + install -m 755 src/scratch ${DESTDIR}/usr/bin/scratch && 2.36 + install -m 644 Scratch.image ${DESTDIR}/usr/lib/scratch/Scratch.image && 2.37 + install -m 644 Scratch.ini ${DESTDIR}/usr/lib/scratch/Scratch.ini && 2.38 + cp src/scratch.desktop ${DESTDIR}/usr/share/applications && 2.39 + cp src/scratch.xml ${DESTDIR}/usr/share/mime/packages && 2.40 + cp -a Plugins ${DESTDIR}/usr/lib/scratch && 2.41 + cp -a locale Media Projects ${DESTDIR}/usr/share/scratch && 2.42 + cp src/icons/48x48/scratch.png \ 2.43 + ${DESTDIR}/usr/share/icons/hicolor/48x48/apps && 2.44 + cp src/icons/48x48/gnome-mime-*.png \ 2.45 + ${DESTDIR}/usr/share/icons/hicolor/48x48/mimetypes 2.46 +} 2.47 + 2.48 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.49 +genpkg_rules() 2.50 +{ 2.51 + mkdir -p $fs 2.52 + cp -a $install/* $fs 2.53 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/squeak-vm/receipt Sat Apr 12 13:55:15 2014 +0200 3.3 @@ -0,0 +1,36 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="squeak-vm" 3.7 +VERSION="4.10.2.2614" 3.8 +SOURCE="Squeak" 3.9 +CATEGORY="network" 3.10 +SHORT_DESC="Create and share interactive stories, games, music and art." 3.11 +MAINTAINER="pankso@slitaz.org" 3.12 +LICENSE="MIT" 3.13 +TARBALL="$SOURCE-$VERSION-src.tar.gz" 3.14 +WEB_SITE="http://scratch.mit.edu/" 3.15 +WGET_URL="http://squeakvm.org/unix/release/$TARBALL" 3.16 +HOST_ARCH="i486 arm" 3.17 + 3.18 +SUGGESTED="" 3.19 +DEPENDS="alsa-lib dbus xorg-libXrender" 3.20 +BUILD_DEPENDS="alsa-lib-dev dbus-dev xorg-libXrender-dev cmake" 3.21 + 3.22 +# Rules to configure and make the package. 3.23 +compile_rules() 3.24 +{ 3.25 + ./unix/cmake/configure \ 3.26 + --prefix=/usr \ 3.27 + --without-quartz \ 3.28 + --with-x \ 3.29 + --enable-mpg-mmx && 3.30 + make && make DESTDIR=${DESTDIR} install 3.31 +} 3.32 + 3.33 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.34 +genpkg_rules() 3.35 +{ 3.36 + mkdir -p $fs/usr 3.37 + cp -a $install/usr/bin $fs/usr 3.38 + cp -a $install/usr/lib $fs/usr 3.39 +}