nixpkgs-suyu/pkgs/development/libraries/libjpeg/default.nix
Eelco Dolstra 10c99c750e * libjpeg fixes on Mac OS X.
svn path=/nixpkgs/trunk/; revision=5711
2006-07-14 15:59:30 +00:00

23 lines
658 B
Nix

{stdenv, fetchurl, libtool}:
stdenv.mkDerivation {
name = "libjpeg-6b";
builder = ./builder.sh;
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/jpegsrc.v6b.tar.gz;
md5 = "dbd5f3b47ed13132f04c685d608a7547";
};
inherit libtool;
# Required for building of dynamic libraries on Darwin.
patches = [
(fetchurl {
url = http://darwinports.org/darwinports/dports/graphics/jpeg/files/patch-ltconfig;
md5 = "e6725fa4a09aa1de4ca75343fd0f61d5";
})
(fetchurl {
url = http://darwinports.org/darwinports/dports/graphics/jpeg/files/patch-ltmain.sh;
md5 = "489986ad8e7a93aef036766b25f321d5";
})
];
}