Two math packages

svn path=/nixpkgs/trunk/; revision=12955
This commit is contained in:
Pjotr Prins
2008-10-05 09:01:59 +00:00
parent ad3d886489
commit 2391d84867
2 changed files with 42 additions and 0 deletions
@@ -0,0 +1,25 @@
args: with args;
stdenv.mkDerivation {
name = "liblapack-3.1.1";
src = fetchurl {
url = http://www.netlib.org/lapack/lapack.tgz;
sha256 = "0am0yzgqhaz6yzliaxc2cgm2mbqjzwcq70b01migk5231frkbhz4";
};
buildInputs = [gfortran];
patches = [ ./gfortran.patch ];
buildPhase = ''
cp make.inc.example make.inc
make blaslib
# make lapacklib
cd SRC
make
'';
meta = {
description = "lapack library";
license = "Free, copyrighted";
homepage = http://www.netlib.org/lapac;
};
}