nixpkgs/pkgs/development/libraries/opencascade/default.nix
Lluís Batlle i Rossell 5fc64e5f9c Again, trying to fix the kernel build.
It seems that there is no make target named 'vmlinuz' that makes the file 'vmlinuz'.
So we need different variables for the make target and the kernel file. Unless we
some day stop using the file 'vmlinuz' in pc, and use bzImage.

svn path=/nixpkgs/trunk/; revision=20092
2010-02-18 10:25:33 +00:00

30 lines
746 B
Nix

{stdenv, fetchurl, mesa, qt4, tcl, tk}:
stdenv.mkDerivation rec {
name = "opencascade-6.3.0";
src = fetchurl {
url = http://files.opencascade.com/OCC_6.3_release/OpenCASCADE_src.tgz;
md5 = "52778127974cb3141c2827f9d40d1f11";
};
buildInputs = [ mesa qt4 tcl tk];
preConfigure = ''
export LDFLAGS=-L$out/lib
cd ros
'';
postInstall = ''
mv $out/inc $out/include
ensureDir $out/share/doc/${name}
cp -R ../doc $out/share/doc/${name}
'';
meta = {
description = "Open CASCADE Technology, libraries for 3D modeling and numerical simulation";
homepage = http://www.opencascade.org/;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
}