* Added libgd.

* gnuplot 4.2.2.

svn path=/nixpkgs/trunk/; revision=9354
This commit is contained in:
Eelco Dolstra
2007-09-21 20:43:43 +00:00
parent 23f2a18677
commit ebacd32b71
3 changed files with 39 additions and 15 deletions

View File

@@ -0,0 +1,21 @@
{stdenv, fetchurl, zlib, libpng, freetype, libjpeg, fontconfig}:
stdenv.mkDerivation {
name = "gd-2.0.35";
src = fetchurl {
url = http://www.libgd.org/releases/gd-2.0.35.tar.bz2;
sha256 = "1y80lcmb8qbzf0a28841zxhq9ndfapmh2fsrqfd9lalxfj8288mz";
};
buildInputs = [zlib libpng freetype];
propagatedBuildInputs = [libjpeg fontconfig]; # urgh
configureFlags = "--without-x";
meta = {
homepage = http://www.libgd.org/;
description = "An open source code library for the dynamic creation of images by programmers";
};
}