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