Updating freeimage

svn path=/nixpkgs/trunk/; revision=24630
This commit is contained in:
Lluís Batlle i Rossell 2010-11-09 14:30:58 +00:00
parent 55be5106fd
commit 93718907e4

View File

@ -1,17 +1,18 @@
{stdenv, fetchurl, unzip}:
stdenv.mkDerivation {
name = "freeimage-3.13.1";
name = "freeimage-3.14.1";
src = fetchurl {
url = mirror://sourceforge/freeimage/FreeImage3131.zip;
sha256 = "1ilpfgyi3qhjra5hxvjcrq3bna909bgdl7rgmhkybmcpdq1x56rj";
url = mirror://sourceforge/freeimage/FreeImage3141.zip;
sha256 = "0rgzdjwzd64z5z9j4bq075h3kfqjk8ab2dwswy0lnzw9jvmbbifm";
};
buildInputs = [ unzip ];
patchPhase = ''
prePatch = ''
sed -e s@/usr/@$out/@ \
-e 's@-o root -g root@@' \
-e 's@ldconfig@echo not running ldconfig@' \
-i Makefile.gnu
'';
patches = [ ./memset.patch ];
preInstall = "mkdir -p $out/include $out/lib";
meta = {