* libjpeg updated to version 8.

* libpng updated to 1.4.0.
* For libjpegStatic, use a stdenv adapter to build a static library.

svn path=/nixpkgs/branches/stdenv-updates/; revision=19605
This commit is contained in:
Eelco Dolstra
2010-01-21 21:42:17 +00:00
parent 8b4f33ac76
commit ed3ebb7c2c
4 changed files with 22 additions and 11 deletions
@@ -1,15 +1,13 @@
{ stdenv, fetchurl, libtool, static ? false }:
{ stdenv, fetchurl }:
stdenv.mkDerivation {
name = "libjpeg-7";
name = "libjpeg-8";
src = fetchurl {
url = http://www.ijg.org/files/jpegsrc.v7.tar.gz;
sha256 = "1gvy6f83pskxrxwnxqah3g9mhnlgi6aph39b99609gn50ri8ddsh";
url = http://www.ijg.org/files/jpegsrc.v8.tar.gz;
sha256 = "1b0blpk8v397klssk99l6ddsb64krcb29pbkbp8ziw5kmjvsbfhp";
};
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";