1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 05:00:16 +00:00

Making opencascade build its visualization, DRAW, and WOK libraries/tools.

svn path=/nixpkgs/trunk/; revision=20193
This commit is contained in:
Lluís Batlle i Rossell 2010-02-23 14:20:10 +00:00
parent 70742ef6b1
commit a13774ecfe
2 changed files with 5 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{stdenv, fetchurl, mesa, tcl, tk, file}:
{stdenv, fetchurl, mesa, tcl, tk, file, libXmu}:
stdenv.mkDerivation rec {
name = "opencascade-6.3.0";
@ -7,12 +7,14 @@ stdenv.mkDerivation rec {
md5 = "52778127974cb3141c2827f9d40d1f11";
};
buildInputs = [ mesa tcl tk file ];
buildInputs = [ mesa tcl tk file libXmu ];
preConfigure = ''
cd ros
'';
configureFlags = [ "--with-tcl=${tcl}/lib" "--with-tk=${tk}/lib" ];
postInstall = ''
mv $out/inc $out/include
ensureDir $out/share/doc/${name}

View file

@ -4623,6 +4623,7 @@ let
opencascade = import ../development/libraries/opencascade {
inherit fetchurl stdenv mesa tcl tk file;
inherit (xlibs) libXmu;
};
openct = import ../development/libraries/openct {