2014-08-23 14:04:53 +00:00
|
|
|
{ stdenv, fetchurl, static ? false }:
|
2014-03-31 23:55:32 +00:00
|
|
|
|
|
|
|
with stdenv.lib;
|
2006-07-14 15:59:30 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2018-03-20 18:09:31 +00:00
|
|
|
name = "libjpeg-9c";
|
2013-06-11 11:41:33 +00:00
|
|
|
|
2003-11-06 15:24:19 +00:00
|
|
|
src = fetchurl {
|
2018-03-20 18:09:31 +00:00
|
|
|
url = http://www.ijg.org/files/jpegsrc.v9c.tar.gz;
|
2018-04-19 16:54:42 +00:00
|
|
|
sha256 = "08kixcf3a7s9x91174abjnk1xbvj4v8crdc73zi4k9h3jfbm00k5";
|
2003-11-06 15:24:19 +00:00
|
|
|
};
|
2013-06-11 11:41:33 +00:00
|
|
|
|
2014-03-31 23:55:32 +00:00
|
|
|
configureFlags = optional static "--enable-static --disable-shared";
|
2014-08-23 14:04:53 +00:00
|
|
|
|
2016-08-29 00:30:01 +00:00
|
|
|
outputs = [ "bin" "dev" "out" "man" ];
|
2013-06-11 11:41:33 +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";
|
2014-11-06 00:44:33 +00:00
|
|
|
license = stdenv.lib.licenses.free;
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2009-10-29 14:13:07 +00:00
|
|
|
};
|
2003-11-06 15:24:19 +00:00
|
|
|
}
|