mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
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:
parent
87e7334e64
commit
db04d4f644
1 changed files with 7 additions and 1 deletions
|
@ -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/;
|
||||
|
|
Loading…
Reference in a new issue