mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 16:53:21 +00:00
6fb297513a
<45219fb00901110456i6f21db35tbd1894eaea2146ff@mail.gmail.com>: * nixpkgs-ccrypt-1.7-new.patch * nixpkgs-cmake-add-ccmake.patch * nixpkgs-cpufrequtils-005-new.patch * nixpkgs-dwm-5.1-fix.patch * nixpkgs-freeimage-3.11.0-new.patch * nixpkgs-proxychains-3.1-new.patch * nixpkgs-psi-to-0.12.patch * nixpkgs-skype-to-2.0.0.72.patch * nixpkgs-truecrypt-6.1a-fix.patch * nixpkgs-vxl-1.11.0-new.patch * nixpkgs-xkb-popular-esperanto-symbols.patch * nixpkgs-xorg-via-video-fix.patch svn path=/nixpkgs/trunk/; revision=13751
23 lines
666 B
Nix
23 lines
666 B
Nix
{stdenv, fetchurl, unzip}:
|
|
stdenv.mkDerivation {
|
|
name = "freeimage-3.11.0";
|
|
src = fetchurl {
|
|
url = mirror://sourceforge/freeimage/FreeImage3110.zip;
|
|
sha256 = "84021b8c0b86e5801479474ad9a99c18d121508ee16d363e02ddcbf24195340c";
|
|
};
|
|
buildInputs = [ unzip ];
|
|
patchPhase = ''
|
|
sed -e s@/usr/@$out/@ \
|
|
-e 's@-o root -g root@@' \
|
|
-e 's@ldconfig@echo not running ldconfig@' \
|
|
-i Makefile.gnu
|
|
'';
|
|
preInstall = "mkdir -p $out/include $out/lib";
|
|
|
|
meta = {
|
|
description = "Open Source library for accessing popular graphics image file formats";
|
|
homepage = http://freeimage.sourceforge.net/;
|
|
license = "GPL";
|
|
};
|
|
}
|