2009-10-29 15:13:07 +01:00
|
|
|
{ stdenv, fetchurl, libtool, static ? false }:
|
2006-07-14 17:59:30 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2009-10-29 15:13:07 +01:00
|
|
|
name = "libjpeg-7";
|
2009-04-23 15:26:14 +02:00
|
|
|
|
2003-11-06 16:24:19 +01:00
|
|
|
src = fetchurl {
|
2009-10-29 15:13:07 +01:00
|
|
|
url = http://www.ijg.org/files/jpegsrc.v7.tar.gz;
|
|
|
|
sha256 = "1gvy6f83pskxrxwnxqah3g9mhnlgi6aph39b99609gn50ri8ddsh";
|
2003-11-06 16:24:19 +01:00
|
|
|
};
|
2009-04-23 15:26:14 +02:00
|
|
|
|
|
|
|
configureFlags = "--enable-shared ${if static then " --enable-static" else ""}";
|
2009-10-29 15:13:07 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.ijg.org/;
|
|
|
|
description = "A library that implements the JPEG image file format";
|
|
|
|
license = "free";
|
|
|
|
};
|
2003-11-06 16:24:19 +01:00
|
|
|
}
|