wok-6.x view blender/receipt @ rev 4967

Fix: amsn DEPENDS (Thanks davesurrey and Nik)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Feb 23 21:36:47 2010 +0100 (2010-02-23)
parents 9771c3252b97
children 395ec8205cff
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"
12 TAGS="3D creator editor"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 mv blender-$VERSION-linux-glibc236-py25-i386 \
18 $PACKAGE-$VERSION 2>/dev/null || continue
19 cd $src
20 mkdir -p _pkg/usr/share
21 mv .blender/locale _pkg/usr/share 2>/dev/null
22 #cd plugins && make
23 rm -rf ../taz
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 LOCALE="fr de pt_BR es zh_CN"
30 mkdir -p $fs/usr/bin $fs/usr/share/pixmaps
31 cp -a $src/blender $fs/usr/bin/blender-bin
32 cp stuff/blender $fs/usr/bin
33 cp -a $src/.blender $fs/usr/share/blender
34 cp -a $src/blenderplayer $fs/usr/bin
35 cp -a $src/icons/32x32/blender.png $fs/usr/share/pixmaps
36 }