wok-4.x diff blender/receipt @ rev 4609

libv4l: add LD_PREPLOAD trick to /etc/profile
author Rohit Joshi <jozee@slitaz.org>
date Tue Dec 15 16:42:43 2009 +0000 (2009-12-15)
parents
children 4273e906522b
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/blender/receipt	Tue Dec 15 16:42:43 2009 +0000
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="blender"
     1.7 +VERSION="2.49b"
     1.8 +CATEGORY="graphics"
     1.9 +SHORT_DESC="3D content creation suite."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION-linux-glibc236-py25-i386.tar.bz2"
    1.12 +DEPENDS="python mesa libsdl libdrm"
    1.13 +WEB_SITE="http://www.blender.org/"
    1.14 +WGET_URL="http://download.blender.org/release/Blender${VERSION}/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	mv blender-$VERSION-linux-glibc236-py25-i386 \
    1.20 +		$PACKAGE-$VERSION 2>/dev/null || continue
    1.21 +	cd $src
    1.22 +	mkdir -p _pkg/usr/share
    1.23 +	mv .blender/locale _pkg/usr/share 2>/dev/null
    1.24 +	#cd plugins && make
    1.25 +	rm -rf ../taz
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	LOCALE="fr de pt_BR es zh_CN"
    1.32 +	mkdir -p $fs/usr/bin $fs/usr/share/pixmaps
    1.33 +	cp -a $src/blender $fs/usr/bin/blender-bin
    1.34 +	cp stuff/blender $fs/usr/bin
    1.35 +	cp -a $src/.blender $fs/usr/share/blender
    1.36 +	cp -a $src/blenderplayer $fs/usr/bin
    1.37 +	cp -a $src/icons/32x32/blender.png $fs/usr/share/pixmaps
    1.38 +}