wok view blender/receipt @ rev 19024

syslinux/win32.c: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 02 17:08:51 2016 +0200 (2016-04-02)
parents 1820d881df20
children 0a865d294d62
line source
1 # SliTaz package receipt.
3 PACKAGE="blender"
4 VERSION="2.75a"
5 CATEGORY="graphics"
6 SHORT_DESC="3D content creation suite."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 SUGGESTED="nvidia"
11 WEB_SITE="http://www.blender.org/"
12 WGET_URL="http://download.blender.org/source/$TARBALL"
13 TAGS="3D creator editor"
15 DEPENDS="py3k mesa libsdl libsamplerate libdrm jpeg libglu-mesa openjpeg \
16 ffmpeg lcms openexr desktop-file-utils libgomp tiff libpng freeglut \
17 freetype openal zlib librsvg glew libboost-filesystem libboost-regex \
18 libboost-thread libboost-date-time libboost-dev"
19 BUILD_DEPENDS="cmake xorg-libXmu ilmbase-dev yasm pkg-config coreutils-file-format \
20 gettext mesa-dev freeglut-dev librsvg-dev openexr-dev tiff-dev openal-dev \
21 libglu-mesa libsdl-dev py3k-dev libsamplerate-dev ffmpeg-dev lcms-dev openjpeg-dev \
22 libboost-dev libboost-math-dev libboost-tr1-dev libboost-filesystem-dev \
23 libglu-mesa-dev glew-dev"
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 mkdir -p $WOK/$PACKAGE/source/build
29 cd $WOK/$PACKAGE/source/build
30 cmake $src \
31 -DCMAKE_INSTALL_PREFIX:PATH=/usr \
32 -DCMAKE_BUILD_TYPE:STRING=Release \
33 -DWITH_INSTALL_PORTABLE:BOOL=OFF \
34 -DWITH_PYTHON_INSTALL:BOOL=OFF \
35 -DWITH_OPENCOLLADA:BOOL=OFF \
36 -DWITH_GAMEENGINE:BOOL=ON \
37 -DWITH_CYCLES:BOOL=OFF \
38 -DWITH_PLAYER:BOOL=ON \
39 -DPYTHON_VERSION:STRING=3.4 \
40 -DPYTHON_LIBPATH:STRING=/usr/lib \
41 -DPYTHON_LIBRARY:STRING=python3.4m \
42 -DPYTHON_INCLUDE_DIRS:STRING=/usr/include/python3.4m
43 # build
44 make $MAKEFLAGS
45 make DESTDIR=$DESTDIR install
46 python3 -m compileall "$DESTDIR/usr/share/blender"
47 }
49 # Rules to gen a SliTaz package suitable for Tazpkg.
50 genpkg_rules()
51 {
52 LOCALE="fr de pt_BR es zh_CN"
53 mkdir -p $fs/usr/bin $fs/usr/share/pixmaps
54 cp -a $install/usr/share/blender $fs/usr/share
55 cp -a $install/usr/bin $fs/usr
56 cp -a $install/usr/share/applications $fs/usr/share
57 cp -a $install/usr/share/icons $fs/usr/share
58 mv -f $fs/usr/bin/blender $fs/usr/bin/blender-bin
59 cp -a $stuff/blender $fs/usr/bin
60 }