3
0
Fork 0
forked from mirrors/nixpkgs

JaMa library: packaged

svn path=/nixpkgs/trunk/; revision=24277
This commit is contained in:
Evgeny Egorochkin 2010-10-14 11:53:59 +00:00
parent 41ff904b91
commit 0dfc76901b
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{stdenv, fetchurl, unzip, tnt}:
stdenv.mkDerivation rec {
name = "jama-${version}";
version = "1.2.5";
src = fetchurl {
url = http://math.nist.gov/tnt/jama125.zip;
sha256 = "031ns526fvi2nv7jzzv02i7i5sjcyr0gj884i3an67qhsx8vyckl";
};
buildInputs = [ unzip ];
propagatedBuildInputs = [ tnt ];
unpackPhase = ''
mkdir "${name}"
unzip "$src"
'';
installPhase = ''
mkdir -p $out/include
cp *.h $out/include
'';
meta = {
homepage = http://math.nist.gov/tnt/;
description = "JAMA/C++ Linear Algebra Package: Java-like matrix C++ templates";
};
}

View file

@ -3105,6 +3105,8 @@ let
jasper = callPackage ../development/libraries/jasper { };
jama = callPackage ../development/libraries/jama { };
jbig2dec = callPackage ../development/libraries/jbig2dec { };
jetty_gwt = callPackage ../development/libraries/java/jetty-gwt { };