nixpkgs/pkgs/development/libraries/libjpeg/default.nix
Eelco Dolstra f210a41f84 * Shocking: a new version of libjpeg!
svn path=/nixpkgs/branches/xorg-7.5/; revision=18024
2009-10-29 14:13:07 +00:00

19 lines
480 B
Nix

{ stdenv, fetchurl, libtool, static ? false }:
stdenv.mkDerivation {
name = "libjpeg-7";
src = fetchurl {
url = http://www.ijg.org/files/jpegsrc.v7.tar.gz;
sha256 = "1gvy6f83pskxrxwnxqah3g9mhnlgi6aph39b99609gn50ri8ddsh";
};
configureFlags = "--enable-shared ${if static then " --enable-static" else ""}";
meta = {
homepage = http://www.ijg.org/;
description = "A library that implements the JPEG image file format";
license = "free";
};
}