Making freeimage build and install freeimageplus too.

I need it for the pgf command line tool (next commit)

(cherry picked from commit f6856be9eefc5785b7c38e7398106d9a220f2a37)
This commit is contained in:
Lluís Batlle i Rossell 2015-01-23 16:08:05 +01:00
parent e7765fbc7d
commit 031af8f0cf
1 changed files with 4 additions and 1 deletions

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";