* 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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user