3
0
Fork 0
forked from mirrors/nixpkgs

svn merge ^/nixpkgs/trunk

svn path=/nixpkgs/branches/libpng15/; revision=32524
This commit is contained in:
Yury G. Kudryashov 2012-02-23 21:25:15 +00:00
parent 3652c61aed
commit b3ef710273

View file

@ -1,15 +1,15 @@
{stdenv, fetchurl, bzip2, freetype, graphviz, ghostscript
, libjpeg, libpng, libtiff, libxml2, zlib, libtool
, libjpeg, libpng, libtiff, libxml2, zlib, libtool, xz
, libX11}:
let version = "1.3.11"; in
let version = "1.3.13"; in
stdenv.mkDerivation {
name = "graphicsmagick-${version}";
src = fetchurl {
url = "mirror://sourceforge/graphicsmagick/GraphicsMagick-${version}.tar.bz2";
sha256 = "184grcvxa5w0ghiv8zf2vdva0kgp3njf20k3h6lbylspjgd3zhxg";
url = "mirror://sourceforge/graphicsmagick/GraphicsMagick-${version}.tar.xz";
sha256 = "08lgjvhvhw3by5h4kfpl7072dbvkcpsajy5f6izq69cv61vadqs5";
};
configureFlags = "--enable-shared";
@ -19,6 +19,8 @@ stdenv.mkDerivation {
zlib libtool
];
buildNativeInputs = [ xz ];
postInstall = ''
sed -i 's/-ltiff.*'\'/\'/ $out/bin/*
'';