Making freeimage build and install freeimageplus too.

I need it for the pgf command line tool (next commit)
This commit is contained in:
Lluís Batlle i Rossell 2015-01-23 16:08:05 +01:00
parent 91b63783e1
commit f6856be9ee

View File

@ -10,9 +10,12 @@ stdenv.mkDerivation {
sed -e s@/usr/@$out/@ \
-e 's@-o root -g root@@' \
-e 's@ldconfig@echo not running ldconfig@' \
-i Makefile.gnu
-i Makefile.gnu Makefile.fip
'';
postBuild = "make -f Makefile.fip";
preInstall = "mkdir -p $out/include $out/lib";
postInstall = "make -f Makefile.fip install";
meta = {
description = "Open Source library for accessing popular graphics image file formats";