wok-next view blender/receipt @ rev 5304

Up: All Xorg driver (7.5 and up)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 19 22:14:19 2010 +0200 (2010-04-19)
parents 395ec8205cff
children 8c64f64218f9
line source
1 # SliTaz package receipt.
3 PACKAGE="blender"
4 VERSION="2.49b"
5 CATEGORY="graphics"
6 SHORT_DESC="3D content creation suite."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION-linux-glibc236-py25-i386.tar.bz2"
9 DEPENDS="python mesa libsdl libdrm jpeg libglu"
10 SUGGESTED="nvidia"
11 WEB_SITE="http://www.blender.org/"
12 WGET_URL="http://download.blender.org/release/Blender${VERSION}/$TARBALL"
13 TAGS="3D creator editor"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 mv blender-$VERSION-linux-glibc236-py25-i386 \
19 $PACKAGE-$VERSION 2>/dev/null || continue
20 cd $src
21 mkdir -p _pkg/usr/share
22 mv .blender/locale _pkg/usr/share 2>/dev/null
23 #cd plugins && make
24 rm -rf ../taz
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 LOCALE="fr de pt_BR es zh_CN"
31 mkdir -p $fs/usr/bin $fs/usr/share/pixmaps
32 cp -a $src/blender $fs/usr/bin/blender-bin
33 cp stuff/blender $fs/usr/bin
34 cp -a $src/.blender $fs/usr/share/blender
35 cp -a $src/blenderplayer $fs/usr/bin
36 cp -a $src/icons/32x32/blender.png $fs/usr/share/pixmaps
37 }