nixpkgs-suyu/pkgs/development/libraries/vxl/default.nix
Lluís Batlle i Rossell de8bbafb53 Adding -fPIC code for static library code in perl and vxl, for x86_64.
svn path=/nixpkgs/trunk/; revision=14526
2009-03-13 16:46:10 +00:00

23 lines
656 B
Nix

{ stdenv, fetchurl, unzip, cmake, libtiff, expat, zlib, libpng, libjpeg }:
stdenv.mkDerivation {
name = "vxl-1.11.0";
src = fetchurl {
url = mirror://sourceforge/vxl/vxl-1.11.0.zip;
sha256 = "84f38d0c3656b5e4470e16ddce715bafcaa478ff066e6cec6f54524b5d72fa68";
};
buildInputs = [ cmake unzip libtiff expat zlib libpng libjpeg ];
cmakeFlags = if (stdenv.system == "x86_64-linux") then
"-DCMAKE_CXX_FLAGS=-fPIC -DCMAKE_C_FLAGS=-fPIC"
else
"";
meta = {
description = "C++ Libraries for Computer Vision Research and Implementation";
homepage = http://vxl.sourceforge.net/;
license = "VXL License";
};
}