wok-stable view blender/receipt @ rev 4534

Up: gnome-mplayer; improve receipt
author Rohit Joshi <jozee@slitaz.org>
date Mon Nov 30 10:33:39 2009 +0000 (2009-11-30)
parents
children 4273e906522b
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"
10 WEB_SITE="http://www.blender.org/"
11 WGET_URL="http://download.blender.org/release/Blender${VERSION}/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 mv blender-$VERSION-linux-glibc236-py25-i386 \
17 $PACKAGE-$VERSION 2>/dev/null || continue
18 cd $src
19 mkdir -p _pkg/usr/share
20 mv .blender/locale _pkg/usr/share 2>/dev/null
21 #cd plugins && make
22 rm -rf ../taz
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 LOCALE="fr de pt_BR es zh_CN"
29 mkdir -p $fs/usr/bin $fs/usr/share/pixmaps
30 cp -a $src/blender $fs/usr/bin/blender-bin
31 cp stuff/blender $fs/usr/bin
32 cp -a $src/.blender $fs/usr/share/blender
33 cp -a $src/blenderplayer $fs/usr/bin
34 cp -a $src/icons/32x32/blender.png $fs/usr/share/pixmaps
35 }