wok-current rev 4084
Add: blender (3D creation suite)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Sep 16 00:12:26 2009 +0200 (2009-09-16) |
parents | 1d293d17e640 |
children | 6c1fe0ca04a4 |
files | blender/receipt blender/stuff/blender blender/stuff/blender.desktop |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/blender/receipt Wed Sep 16 00:12:26 2009 +0200 1.3 @@ -0,0 +1,35 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="blender" 1.7 +VERSION="2.49b" 1.8 +CATEGORY="graphics" 1.9 +SHORT_DESC="3D content creation suite." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION-linux-glibc236-py25-i386.tar.bz2" 1.12 +DEPENDS="python mesa libsdl libdrm" 1.13 +WEB_SITE="http://www.blender.org/" 1.14 +WGET_URL="http://download.blender.org/release/Blender${VERSION}/$TARBALL" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + mv blender-$VERSION-linux-glibc236-py25-i386 \ 1.20 + $PACKAGE-$VERSION 2>/dev/null || continue 1.21 + cd $src 1.22 + mkdir -p _pkg/usr/share 1.23 + mv .blender/locale _pkg/usr/share 2>/dev/null 1.24 + #cd plugins && make 1.25 + rm -rf ../taz 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + LOCALE="fr de pt_BR es zh_CN" 1.32 + mkdir -p $fs/usr/bin $fs/usr/share/pixmaps 1.33 + cp -a $src/blender $fs/usr/bin/blender-bin 1.34 + cp stuff/blender $fs/usr/bin 1.35 + cp -a $src/.blender $fs/usr/share/blender 1.36 + cp -a $src/blenderplayer $fs/usr/bin 1.37 + cp -a $src/icons/32x32/blender.png $fs/usr/share/pixmaps 1.38 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/blender/stuff/blender Wed Sep 16 00:12:26 2009 +0200 2.3 @@ -0,0 +1,7 @@ 2.4 +#!/bin/sh 2.5 + 2.6 +if [ ! -d $HOME/.blender ]; then 2.7 + cp -r /usr/share/blender $HOME/.blender 2.8 +fi 2.9 + 2.10 +exec blender-bin
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/blender/stuff/blender.desktop Wed Sep 16 00:12:26 2009 +0200 3.3 @@ -0,0 +1,7 @@ 3.4 +[Desktop Entry] 3.5 +Encoding=UTF-8 3.6 +Name=Blender 3D creation suite 3.7 +Exec=blender 3.8 +Icon=blender 3.9 +Type=Application 3.10 +Categories=Graphics;