From 8b8b0586625c55e6a42c2a05b3ad1cfc36b5e491 Mon Sep 17 00:00:00 2001 From: Marc Weber Date: Sun, 13 Sep 2009 08:54:41 +0000 Subject: [PATCH] adding libmng svn path=/nixpkgs/trunk/; revision=17075 --- pkgs/development/libraries/libmng/default.nix | 24 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/development/libraries/libmng/default.nix diff --git a/pkgs/development/libraries/libmng/default.nix b/pkgs/development/libraries/libmng/default.nix new file mode 100644 index 000000000000..eb574fbc8c88 --- /dev/null +++ b/pkgs/development/libraries/libmng/default.nix @@ -0,0 +1,24 @@ +args: with args; +stdenv.mkDerivation { + name = "libmng-1.0.10"; + + src = fetchurl { + url = mirror://sourceforge/libmng/libmng-devel/1.0.10/libmng-1.0.10.tar.bz2; + sha256 = "06415s40gz833s1v1q7c04c0m49p4sc87ich0vpdid2ldj0pf53v"; + }; + + preConfigure = " + unmaintained/autogen.sh + #cp makefiles/makefile.linux Makefile + "; + + buildInputs = [zlib libpng libjpeg lcms automake autoconf libtool]; + + meta = { + description = "THE reference library for reading, displaying, writing and examining Multiple-Image Network Graphics"; + homepage = http://sourceforge.net/projects/libmng; + license = "zlib/libpng"; + maintainers = [args.lib.maintainers.marcweber]; + platforms = args.lib.platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1bc0cdd39f20..8580bbeca3f6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3631,6 +3631,10 @@ let inherit fetchurl stdenv; }; + libmng = import ../development/libraries/libmng { + inherit fetchurl stdenv lib zlib libpng libjpeg lcms automake autoconf libtool; + }; + libmpcdec = import ../development/libraries/libmpcdec { inherit fetchurl stdenv; };