wok annotate blender/receipt @ rev 19632

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