2010-02-23 17:20:10 +03:00
|
|
|
{stdenv, fetchurl, mesa, tcl, tk, file, libXmu}:
|
2009-01-27 11:14:27 +03:00
|
|
|
|
2010-01-27 21:27:55 +03:00
|
|
|
stdenv.mkDerivation rec {
|
2009-01-27 11:14:27 +03:00
|
|
|
name = "opencascade-6.3.0";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://files.opencascade.com/OCC_6.3_release/OpenCASCADE_src.tgz;
|
|
|
|
md5 = "52778127974cb3141c2827f9d40d1f11";
|
|
|
|
};
|
|
|
|
|
2010-02-23 17:20:10 +03:00
|
|
|
buildInputs = [ mesa tcl tk file libXmu ];
|
2009-01-27 11:14:27 +03:00
|
|
|
|
2010-02-18 13:25:33 +03:00
|
|
|
preConfigure = ''
|
|
|
|
cd ros
|
|
|
|
'';
|
2009-01-27 11:14:27 +03:00
|
|
|
|
2010-02-23 17:20:10 +03:00
|
|
|
configureFlags = [ "--with-tcl=${tcl}/lib" "--with-tk=${tk}/lib" ];
|
|
|
|
|
2010-01-27 21:27:55 +03:00
|
|
|
postInstall = ''
|
|
|
|
mv $out/inc $out/include
|
|
|
|
ensureDir $out/share/doc/${name}
|
|
|
|
cp -R ../doc $out/share/doc/${name}
|
|
|
|
'';
|
|
|
|
|
2009-01-27 11:14:27 +03:00
|
|
|
meta = {
|
|
|
|
description = "Open CASCADE Technology, libraries for 3D modeling and numerical simulation";
|
|
|
|
homepage = http://www.opencascade.org/;
|
2009-10-02 00:18:17 +04:00
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
2009-01-27 11:14:27 +03:00
|
|
|
};
|
|
|
|
}
|