Making opencascade put header files in 'include', and not 'inc'. I also make

it to install the documentation.

svn path=/nixpkgs/trunk/; revision=19715
This commit is contained in:
Lluís Batlle i Rossell 2010-01-27 18:27:55 +00:00
parent 87e7334e64
commit db04d4f644

View file

@ -1,6 +1,6 @@
{stdenv, fetchurl, mesa, qt4, tcl, tk}:
stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "opencascade-6.3.0";
src = fetchurl {
url = http://files.opencascade.com/OCC_6.3_release/OpenCASCADE_src.tgz;
@ -11,6 +11,12 @@ stdenv.mkDerivation {
preConfigure = "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/;