wok-6.x annotate blender/receipt @ rev 5331

xorg-server: --enable-udev and remove HAL (config + dep)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Apr 24 23:41:37 2010 +0200 (2010-04-24)
parents 395ec8205cff
children 8c64f64218f9
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"
jozee@5018 9 DEPENDS="python mesa libsdl libdrm jpeg libglu"
jozee@5018 10 SUGGESTED="nvidia"
pankso@4084 11 WEB_SITE="http://www.blender.org/"
pankso@4084 12 WGET_URL="http://download.blender.org/release/Blender${VERSION}/$TARBALL"
jozee@4932 13 TAGS="3D creator editor"
pankso@4084 14
pankso@4084 15 # Rules to configure and make the package.
pankso@4084 16 compile_rules()
pankso@4084 17 {
pankso@4084 18 mv blender-$VERSION-linux-glibc236-py25-i386 \
pankso@4084 19 $PACKAGE-$VERSION 2>/dev/null || continue
pankso@4084 20 cd $src
pankso@4084 21 mkdir -p _pkg/usr/share
pankso@4084 22 mv .blender/locale _pkg/usr/share 2>/dev/null
pankso@4084 23 #cd plugins && make
pankso@4084 24 rm -rf ../taz
pankso@4084 25 }
pankso@4084 26
pankso@4084 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4084 28 genpkg_rules()
pankso@4084 29 {
pankso@4084 30 LOCALE="fr de pt_BR es zh_CN"
pankso@4084 31 mkdir -p $fs/usr/bin $fs/usr/share/pixmaps
pankso@4084 32 cp -a $src/blender $fs/usr/bin/blender-bin
pankso@4084 33 cp stuff/blender $fs/usr/bin
pankso@4084 34 cp -a $src/.blender $fs/usr/share/blender
pankso@4084 35 cp -a $src/blenderplayer $fs/usr/bin
pankso@4084 36 cp -a $src/icons/32x32/blender.png $fs/usr/share/pixmaps
pankso@4084 37 }