2014-03-31 23:55:32 +00:00
|
|
|
{ stdenv, fetchurl, static ? false }:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
2006-07-14 15:59:30 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2012-08-26 19:05:40 +00:00
|
|
|
name = "libjpeg-8d";
|
2009-04-23 13:26:14 +00:00
|
|
|
|
2003-11-06 15:24:19 +00:00
|
|
|
src = fetchurl {
|
2012-08-26 19:05:40 +00:00
|
|
|
url = http://www.ijg.org/files/jpegsrc.v8d.tar.gz;
|
|
|
|
sha256 = "1cz0dy05mgxqdgjf52p54yxpyy95rgl30cnazdrfmw7hfca9n0h0";
|
2003-11-06 15:24:19 +00:00
|
|
|
};
|
2014-03-31 23:55:32 +00:00
|
|
|
|
|
|
|
configureFlags = optional static "--enable-static --disable-shared";
|
2009-04-23 13:26:14 +00:00
|
|
|
|
2009-10-29 14:13:07 +00:00
|
|
|
meta = {
|
|
|
|
homepage = http://www.ijg.org/;
|
|
|
|
description = "A library that implements the JPEG image file format";
|
|
|
|
license = "free";
|
|
|
|
};
|
2003-11-06 15:24:19 +00:00
|
|
|
}
|