Making opencascade put header files in 'include', and not 'inc'. I also make it to install the documentation.

svn path=/nixpkgs/trunk/; revision=19715

+7 -1
+7 -1
pkgs/development/libraries/opencascade/default.nix
··· 1 {stdenv, fetchurl, mesa, qt4, tcl, tk}: 2 3 - stdenv.mkDerivation { 4 name = "opencascade-6.3.0"; 5 src = fetchurl { 6 url = http://files.opencascade.com/OCC_6.3_release/OpenCASCADE_src.tgz; ··· 10 buildInputs = [ mesa qt4 tcl tk]; 11 12 preConfigure = "cd ros"; 13 14 meta = { 15 description = "Open CASCADE Technology, libraries for 3D modeling and numerical simulation";
··· 1 {stdenv, fetchurl, mesa, qt4, tcl, tk}: 2 3 + stdenv.mkDerivation rec { 4 name = "opencascade-6.3.0"; 5 src = fetchurl { 6 url = http://files.opencascade.com/OCC_6.3_release/OpenCASCADE_src.tgz; ··· 10 buildInputs = [ mesa qt4 tcl tk]; 11 12 preConfigure = "cd ros"; 13 + 14 + postInstall = '' 15 + mv $out/inc $out/include 16 + ensureDir $out/share/doc/${name} 17 + cp -R ../doc $out/share/doc/${name} 18 + ''; 19 20 meta = { 21 description = "Open CASCADE Technology, libraries for 3D modeling and numerical simulation";