povray: fix build and add platforms

This commit is contained in:
Luca Bruno 2015-02-15 18:33:19 +01:00
parent 934f97281f
commit ca2d7774e0

View File

@ -23,8 +23,10 @@ stdenv.mkDerivation {
sed -i -e 's/^povgroup.*/povgroup=nogroup/' Makefile.{am,in} sed -i -e 's/^povgroup.*/povgroup=nogroup/' Makefile.{am,in}
''; '';
configureFlags = [ "COMPILED_BY='nix'" ]; configureFlags = [ "COMPILED_BY='nix'" "--with-boost-thread=boost_thread" ];
enableParallelBuilding = true;
preInstall = '' preInstall = ''
mkdir "$TMP/bin" mkdir "$TMP/bin"
for i in chown chgrp; do for i in chown chgrp; do
@ -34,9 +36,10 @@ stdenv.mkDerivation {
done done
''; '';
meta = { meta = with stdenv.lib; {
homepage = http://www.povray.org/; homepage = http://www.povray.org/;
description = "Persistence of Vision Raytracer"; description = "Persistence of Vision Raytracer";
license = stdenv.lib.licenses.free; license = licenses.free;
platforms = platforms.linux;
}; };
} }