wok-stable annotate blender/receipt @ rev 11087
Up: cryptsetup to 1.3.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Oct 17 02:35:46 2011 +0000 (2011-10-17) |
parents | 3e0baeb2702c |
children | fb10f9e7f73c |
rev | line source |
---|---|
pankso@4084 | 1 # SliTaz package receipt. |
pankso@4084 | 2 |
pankso@4084 | 3 PACKAGE="blender" |
slaxemulator@10251 | 4 VERSION="2.57b" |
pankso@4084 | 5 CATEGORY="graphics" |
pankso@4084 | 6 SHORT_DESC="3D content creation suite." |
pankso@4084 | 7 MAINTAINER="pankso@slitaz.org" |
slaxemulator@6619 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@5018 | 9 SUGGESTED="nvidia" |
pankso@4084 | 10 WEB_SITE="http://www.blender.org/" |
slaxemulator@6619 | 11 WGET_URL="http://download.blender.org/source/$TARBALL" |
jozee@4932 | 12 TAGS="3D creator editor" |
pankso@4084 | 13 |
slaxemulator@10251 | 14 DEPENDS="py3k mesa libsdl libsamplerate libdrm jpeg libglu-mesa openjpeg \ |
slaxemulator@10251 | 15 ffmpeg lcms openexr desktop-file-utils libgomp tiff libpng freeglut \ |
slaxemulator@10251 | 16 freetype openal zlib librsvg" |
slaxemulator@10251 | 17 BUILD_DEPENDS="cmake xorg-libXmu ilmbase-dev yasm pkg-config coreutils-file-format \ |
pankso@9917 | 18 gettext mesa-dev freeglut-dev librsvg-dev openexr-dev tiff-dev openal-dev \ |
slaxemulator@10251 | 19 libglu-mesa libsdl-dev py3k-dev libsamplerate-dev ffmpeg-dev lcms-dev openjpeg-dev" |
pankso@9807 | 20 |
pankso@4084 | 21 # Rules to configure and make the package. |
pankso@4084 | 22 compile_rules() |
pankso@4084 | 23 { |
pankso@4084 | 24 cd $src |
slaxemulator@6619 | 25 |
slaxemulator@10251 | 26 mkdir -p $WOK/$PACKAGE/build |
slaxemulator@10251 | 27 cd $WOK/$PACKAGE/build |
slaxemulator@10251 | 28 cmake $src \ |
slaxemulator@10251 | 29 -DCMAKE_INSTALL_PREFIX:PATH=/usr \ |
slaxemulator@10251 | 30 -DCMAKE_BUILD_TYPE:STRING=Release \ |
slaxemulator@10251 | 31 -DWITH_INSTALL_PORTABLE:BOOL=OFF \ |
slaxemulator@10251 | 32 -DWITH_PYTHON_INSTALL:BOOL=OFF \ |
slaxemulator@10251 | 33 -DWITH_OPENCOLLADA:BOOL=OFF \ |
slaxemulator@10251 | 34 -DWITH_GAMEENGINE:BOOL=ON \ |
slaxemulator@10251 | 35 -DWITH_PLAYER:BOOL=ON \ |
slaxemulator@10251 | 36 -DPYTHON_VERSION:STRING=3.2 \ |
slaxemulator@10251 | 37 -DPYTHON_LIBPATH:STRING=/usr/lib \ |
slaxemulator@10251 | 38 -DPYTHON_LIBRARY:STRING=python3.2m \ |
slaxemulator@10251 | 39 -DPYTHON_INCLUDE_DIRS:STRING=/usr/include/python3.2m |
slaxemulator@6619 | 40 # build |
slaxemulator@10251 | 41 make $MAKEFLAGS -j 1 |
slaxemulator@10251 | 42 make DESTDIR=$DESTDIR install |
slaxemulator@10251 | 43 python3 -m compileall "$DESTDIR/usr/share/blender" |
pankso@4084 | 44 } |
pankso@4084 | 45 |
pankso@4084 | 46 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4084 | 47 genpkg_rules() |
pankso@4084 | 48 { |
pankso@4084 | 49 LOCALE="fr de pt_BR es zh_CN" |
pankso@4084 | 50 mkdir -p $fs/usr/bin $fs/usr/share/pixmaps |
slaxemulator@10251 | 51 cp -a $_pkg/usr $fs |
slaxemulator@10251 | 52 mv -f $fs/usr/bin/blender $fs/usr/bin/blender-bin |
slaxemulator@10251 | 53 cp -a $stuff/blender $fs/usr/bin |
pankso@4084 | 54 } |