2010-07-28 11:55:54 +00:00
|
|
|
{ stdenv, fetchurl, gfortran }:
|
2008-10-05 09:01:59 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2012-02-21 14:49:36 +00:00
|
|
|
name = "atlas-3.9.67";
|
2010-07-28 11:55:54 +00:00
|
|
|
|
2008-10-05 09:01:59 +00:00
|
|
|
src = fetchurl {
|
2012-02-21 14:49:36 +00:00
|
|
|
url = mirror://sf/math-atlas/atlas3.9.67.tar.bz2;
|
|
|
|
sha256 = "06xxlv440z8a3qmfrh17p28girv71c6awvpw5vhpspr0pcsgk1pa";
|
2008-10-05 09:01:59 +00:00
|
|
|
};
|
|
|
|
|
2008-12-02 22:55:33 +00:00
|
|
|
# configure outside of the source directory
|
|
|
|
preConfigure = '' mkdir build; cd build; configureScript=../configure; '';
|
|
|
|
|
2009-05-21 17:39:17 +00:00
|
|
|
# the manual says you should pass -fPIC as configure arg .. It works
|
2012-02-22 11:37:10 +00:00
|
|
|
configureFlags = "-Fa alg -fPIC" +
|
|
|
|
(if stdenv.isi686 then " -b 32" else "");
|
2008-12-02 22:55:33 +00:00
|
|
|
|
2010-07-28 11:55:54 +00:00
|
|
|
buildInputs = [ gfortran ];
|
2008-10-05 09:01:59 +00:00
|
|
|
|
|
|
|
meta = {
|
2010-07-28 11:55:54 +00:00
|
|
|
description = "Atlas library";
|
|
|
|
license = "GPL";
|
|
|
|
homepage = http://math-atlas.sourceforge.net/;
|
2008-10-05 09:01:59 +00:00
|
|
|
};
|
|
|
|
}
|