2009-01-12 22:12:07 +01:00
|
|
|
{ stdenv, fetchurl, unzip, cmake, libtiff, expat, zlib, libpng, libjpeg }:
|
|
|
|
stdenv.mkDerivation {
|
2009-05-11 19:49:07 +02:00
|
|
|
name = "vxl-1.12.0";
|
2009-01-12 22:12:07 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2009-04-25 18:21:56 +02:00
|
|
|
url = mirror://sourceforge/vxl/vxl-1.12.0.zip;
|
|
|
|
sha256 = "11nwa37g42l81xv18s2q2jflc4vr2ncsm7wn7yv269wfwxcjhnlc";
|
2009-01-12 22:12:07 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ cmake unzip libtiff expat zlib libpng libjpeg ];
|
|
|
|
|
2009-03-13 17:46:10 +01:00
|
|
|
cmakeFlags = if (stdenv.system == "x86_64-linux") then
|
|
|
|
"-DCMAKE_CXX_FLAGS=-fPIC -DCMAKE_C_FLAGS=-fPIC"
|
|
|
|
else
|
|
|
|
"";
|
|
|
|
|
|
|
|
|
2009-01-12 22:12:07 +01:00
|
|
|
meta = {
|
|
|
|
description = "C++ Libraries for Computer Vision Research and Implementation";
|
|
|
|
homepage = http://vxl.sourceforge.net/;
|
|
|
|
license = "VXL License";
|
|
|
|
};
|
|
|
|
}
|