2010-07-28 12:55:54 +01:00
|
|
|
{ stdenv, fetchurl, zlib, libpng, libjpeg, lcms, automake, autoconf, libtool }:
|
|
|
|
|
2011-06-07 22:49:53 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2009-09-13 09:54:41 +01:00
|
|
|
name = "libmng-1.0.10";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2011-06-07 22:49:53 +01:00
|
|
|
url = "mirror://sourceforge/libmng/${name}.tar.bz2";
|
2009-09-13 09:54:41 +01:00
|
|
|
sha256 = "06415s40gz833s1v1q7c04c0m49p4sc87ich0vpdid2ldj0pf53v";
|
|
|
|
};
|
|
|
|
|
2010-07-28 12:55:54 +01:00
|
|
|
preConfigure = "unmaintained/autogen.sh";
|
2009-09-13 09:54:41 +01:00
|
|
|
|
2011-06-07 22:49:53 +01:00
|
|
|
buildNativeInputs = [ automake autoconf libtool ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ zlib libpng libjpeg lcms ];
|
2009-09-13 09:54:41 +01:00
|
|
|
|
|
|
|
meta = {
|
2010-07-28 12:55:54 +01:00
|
|
|
description = "Reference library for reading, displaying, writing and examining Multiple-Image Network Graphics";
|
2010-09-26 20:39:49 +01:00
|
|
|
homepage = http://www.libmng.com;
|
2009-09-13 09:54:41 +01:00
|
|
|
license = "zlib/libpng";
|
2011-06-07 22:49:53 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ marcweber urkud ];
|
2010-07-28 12:55:54 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-09-13 09:54:41 +01:00
|
|
|
};
|
|
|
|
}
|