1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 04:31:52 +00:00

Making freeimage build and install freeimageplus too.

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

(cherry picked from commit f6856be9ee)
This commit is contained in:
Lluís Batlle i Rossell 2015-01-23 16:08:05 +01:00
parent e7765fbc7d
commit 031af8f0cf

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