wok annotate blender/receipt @ 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 | |
children | 4273e906522b |
rev | line source |
---|---|
pankso@4084 | 1 # SliTaz package receipt. |
pankso@4084 | 2 |
pankso@4084 | 3 PACKAGE="blender" |
pankso@4084 | 4 VERSION="2.49b" |
pankso@4084 | 5 CATEGORY="graphics" |
pankso@4084 | 6 SHORT_DESC="3D content creation suite." |
pankso@4084 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@4084 | 8 TARBALL="$PACKAGE-$VERSION-linux-glibc236-py25-i386.tar.bz2" |
pankso@4084 | 9 DEPENDS="python mesa libsdl libdrm" |
pankso@4084 | 10 WEB_SITE="http://www.blender.org/" |
pankso@4084 | 11 WGET_URL="http://download.blender.org/release/Blender${VERSION}/$TARBALL" |
pankso@4084 | 12 |
pankso@4084 | 13 # Rules to configure and make the package. |
pankso@4084 | 14 compile_rules() |
pankso@4084 | 15 { |
pankso@4084 | 16 mv blender-$VERSION-linux-glibc236-py25-i386 \ |
pankso@4084 | 17 $PACKAGE-$VERSION 2>/dev/null || continue |
pankso@4084 | 18 cd $src |
pankso@4084 | 19 mkdir -p _pkg/usr/share |
pankso@4084 | 20 mv .blender/locale _pkg/usr/share 2>/dev/null |
pankso@4084 | 21 #cd plugins && make |
pankso@4084 | 22 rm -rf ../taz |
pankso@4084 | 23 } |
pankso@4084 | 24 |
pankso@4084 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4084 | 26 genpkg_rules() |
pankso@4084 | 27 { |
pankso@4084 | 28 LOCALE="fr de pt_BR es zh_CN" |
pankso@4084 | 29 mkdir -p $fs/usr/bin $fs/usr/share/pixmaps |
pankso@4084 | 30 cp -a $src/blender $fs/usr/bin/blender-bin |
pankso@4084 | 31 cp stuff/blender $fs/usr/bin |
pankso@4084 | 32 cp -a $src/.blender $fs/usr/share/blender |
pankso@4084 | 33 cp -a $src/blenderplayer $fs/usr/bin |
pankso@4084 | 34 cp -a $src/icons/32x32/blender.png $fs/usr/share/pixmaps |
pankso@4084 | 35 } |