2010-02-23 15:20:10 +01:00
|
|
|
{stdenv, fetchurl, mesa, tcl, tk, file, libXmu}:
|
2009-01-27 09:14:27 +01:00
|
|
|
|
2010-01-27 19:27:55 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2009-01-27 09:14:27 +01: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 15:20:10 +01:00
|
|
|
buildInputs = [ mesa tcl tk file libXmu ];
|
2009-01-27 09:14:27 +01:00
|
|
|
|
2010-02-18 11:25:33 +01:00
|
|
|
preConfigure = ''
|
|
|
|
cd ros
|
|
|
|
'';
|
2009-01-27 09:14:27 +01:00
|
|
|
|
2010-02-23 15:20:10 +01:00
|
|
|
configureFlags = [ "--with-tcl=${tcl}/lib" "--with-tk=${tk}/lib" ];
|
|
|
|
|
2010-01-27 19:27:55 +01:00
|
|
|
postInstall = ''
|
|
|
|
mv $out/inc $out/include
|
|
|
|
ensureDir $out/share/doc/${name}
|
|
|
|
cp -R ../doc $out/share/doc/${name}
|
|
|
|
'';
|
|
|
|
|
2009-01-27 09:14:27 +01:00
|
|
|
meta = {
|
|
|
|
description = "Open CASCADE Technology, libraries for 3D modeling and numerical simulation";
|
|
|
|
homepage = http://www.opencascade.org/;
|
2009-10-01 22:18:17 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
2009-01-27 09:14:27 +01:00
|
|
|
};
|
|
|
|
}
|