2007-08-08 13:20:18 +00:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2009-09-29 12:52:47 +00:00
|
|
|
name = "icu4c-4.2";
|
2008-07-04 05:53:41 +00:00
|
|
|
|
2007-08-08 13:20:18 +00:00
|
|
|
src = fetchurl {
|
2009-09-29 12:52:47 +00:00
|
|
|
url = http://download.icu-project.org/files/icu4c/4.2.1/icu4c-4_2_1-src.tgz;
|
|
|
|
sha256 = "0qw050msb34wr522s7s83i6skxsc9i19p4rlvmf99pqk2hgf6kc1";
|
2007-08-08 13:20:18 +00:00
|
|
|
};
|
2008-07-04 05:53:41 +00:00
|
|
|
|
|
|
|
patchFlags = "-p0";
|
|
|
|
|
2009-11-08 00:32:12 +00:00
|
|
|
CFLAGS = "-O0";
|
|
|
|
CXXFLAGS = "-O0";
|
|
|
|
|
2008-07-04 05:53:41 +00:00
|
|
|
patches = [
|
|
|
|
(fetchurl {
|
|
|
|
url = "http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/dev-libs/icu/files/icu-3.8-setBreakType-public.diff?rev=1.1";
|
|
|
|
sha256 = "09g39rzj3bdf2q9n47rzdlpcjyipip42swbjpb0gjzp439jv3wmk";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
postUnpack = "
|
2007-08-08 13:20:18 +00:00
|
|
|
sourceRoot=\${sourceRoot}/source
|
|
|
|
echo Source root reset to \${sourceRoot}
|
|
|
|
";
|
2008-07-04 05:53:41 +00:00
|
|
|
|
|
|
|
configureFlags = "--disable-debug";
|
2009-09-29 12:52:47 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Unicode and globalization support library";
|
|
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
2007-08-08 13:20:18 +00:00
|
|
|
}
|