2014-08-23 07:04:53 -07:00
|
|
|
{ stdenv, fetchurl, static ? false }:
|
2014-03-31 16:55:32 -07:00
|
|
|
|
|
|
|
with stdenv.lib;
|
2006-07-14 08:59:30 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2012-08-26 12:05:40 -07:00
|
|
|
name = "libjpeg-8d";
|
2013-06-11 04:41:33 -07:00
|
|
|
|
2003-11-06 07:24:19 -08:00
|
|
|
src = fetchurl {
|
2012-08-26 12:05:40 -07:00
|
|
|
url = http://www.ijg.org/files/jpegsrc.v8d.tar.gz;
|
|
|
|
sha256 = "1cz0dy05mgxqdgjf52p54yxpyy95rgl30cnazdrfmw7hfca9n0h0";
|
2003-11-06 07:24:19 -08:00
|
|
|
};
|
2013-06-11 04:41:33 -07:00
|
|
|
|
2014-03-31 16:55:32 -07:00
|
|
|
configureFlags = optional static "--enable-static --disable-shared";
|
2014-08-23 07:04:53 -07:00
|
|
|
|
2016-08-28 17:30:01 -07:00
|
|
|
outputs = [ "bin" "dev" "out" "man" ];
|
2013-06-11 04:41:33 -07:00
|
|
|
|
2009-10-29 07:13:07 -07:00
|
|
|
meta = {
|
|
|
|
homepage = http://www.ijg.org/;
|
|
|
|
description = "A library that implements the JPEG image file format";
|
2014-11-05 16:44:33 -08:00
|
|
|
license = stdenv.lib.licenses.free;
|
2016-08-02 10:50:55 -07:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2009-10-29 07:13:07 -07:00
|
|
|
};
|
2003-11-06 07:24:19 -08:00
|
|
|
}
|