2006-07-14 15:59:30 +00:00
|
|
|
{stdenv, fetchurl, libtool}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2003-11-06 15:24:19 +00:00
|
|
|
name = "libjpeg-6b";
|
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2005-08-22 08:39:27 +00:00
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/jpegsrc.v6b.tar.gz;
|
2003-11-06 15:24:19 +00:00
|
|
|
md5 = "dbd5f3b47ed13132f04c685d608a7547";
|
|
|
|
};
|
2006-07-14 15:59:30 +00:00
|
|
|
inherit libtool;
|
|
|
|
|
|
|
|
# Required for building of dynamic libraries on Darwin.
|
|
|
|
patches = [
|
|
|
|
(fetchurl {
|
2006-10-12 13:50:54 +00:00
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/patch-ltconfig;
|
2006-07-14 15:59:30 +00:00
|
|
|
md5 = "e6725fa4a09aa1de4ca75343fd0f61d5";
|
|
|
|
})
|
|
|
|
(fetchurl {
|
2006-10-12 13:50:54 +00:00
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/patch-ltmain.sh;
|
2006-09-01 17:28:25 +00:00
|
|
|
#md5 = "489986ad8e7a93aef036766b25f321d5";
|
|
|
|
md5 = "092a12aeb0c386dd7dae059109d950ba";
|
2006-07-14 15:59:30 +00:00
|
|
|
})
|
|
|
|
];
|
2003-11-06 15:24:19 +00:00
|
|
|
}
|