diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2012-02-22 22:41:44 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2012-02-22 22:41:44 +0000 |
commit | 61451871dfdd34a94df6e989be34b96569625dd1 (patch) | |
tree | 6238943c9e2196a1617770e219470a534b75c382 /pkgs/development/libraries/qrupdate | |
parent | 4d4d324776ff3d7bdf343ba5e60f21f5b1605900 (diff) | |
download | nixpkgs-61451871dfdd34a94df6e989be34b96569625dd1.tar nixpkgs-61451871dfdd34a94df6e989be34b96569625dd1.tar.gz nixpkgs-61451871dfdd34a94df6e989be34b96569625dd1.tar.bz2 nixpkgs-61451871dfdd34a94df6e989be34b96569625dd1.tar.lz nixpkgs-61451871dfdd34a94df6e989be34b96569625dd1.tar.xz nixpkgs-61451871dfdd34a94df6e989be34b96569625dd1.tar.zst nixpkgs-61451871dfdd34a94df6e989be34b96569625dd1.zip |
Updating qrupdate and making it do the check phase
svn path=/nixpkgs/trunk/; revision=32495
Diffstat (limited to 'pkgs/development/libraries/qrupdate')
-rw-r--r-- | pkgs/development/libraries/qrupdate/default.nix | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/pkgs/development/libraries/qrupdate/default.nix b/pkgs/development/libraries/qrupdate/default.nix index ee341617230..465ec7eebb2 100644 --- a/pkgs/development/libraries/qrupdate/default.nix +++ b/pkgs/development/libraries/qrupdate/default.nix @@ -1,19 +1,29 @@ { stdenv , fetchurl , gfortran -, blas , liblapack }: stdenv.mkDerivation { - name = "qrupdate-1.1.1"; + name = "qrupdate-1.1.2"; src = fetchurl { - url = mirror://sourceforge/qrupdate/1.1/qrupdate-1.1.1.tar.gz ; - sha256 = "0ak68qd15zccr2d2qahxcxsrcdgxy7drg362jj9swv7rb39h00cz"; + url = mirror://sourceforge/qrupdate/qrupdate-1.1.2.tar.gz ; + sha256 = "024f601685phcm1pg8lhif3lpy5j9j0k6n0r46743g4fvh8wg8g2"; }; - preConfigure = '' + configurePhase = '' export PREFIX=$out + sed -i -e 's,^BLAS=.*,BLAS=-L${liblapack}/lib -L${liblapack.blas} -lcblas -lf77blas -latlas,' \ + -e 's,^LAPACK=.*,LAPACK=-L${liblapack}/lib -llapack -lcblas -lf77blas -latlas,' \ + Makeconf ''; + + doCheck = true; + + checkTarget = "test"; + + buildTarget = "lib"; + + installTarget = "install-staticlib"; - buildInputs = [gfortran blas liblapack] ; + buildInputs = [ gfortran liblapack ]; } |