2008-06-28 17:22:23 +02:00
|
|
|
{stdenv, fetchurl, icu, zlib, bzip2, python, version}:
|
|
|
|
|
|
|
|
assert version == "1.34.1";
|
2007-06-12 17:35:57 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2007-10-19 21:17:06 +02:00
|
|
|
name = "boost-1.34.1";
|
2007-06-12 17:35:57 +02:00
|
|
|
src = fetchurl {
|
2007-10-19 21:17:06 +02:00
|
|
|
url = mirror://sourceforge/boost/boost_1_34_1.tar.bz2;
|
|
|
|
sha256 = "0k7cjsgg3iqy49f9nnhyp945yry0bichd88p04sg3915n1snr1hg";
|
2007-06-12 17:35:57 +02:00
|
|
|
};
|
2007-08-08 15:20:18 +02:00
|
|
|
buildInputs = [icu zlib bzip2 python];
|
|
|
|
preConfigure="
|
|
|
|
sed -e 's@^BJAM_CONFIG=\"\"@BJAM_CONFIG=\"--layout=system release threading=multi link=shared\"@g' -i configure
|
|
|
|
";
|
2007-12-16 00:45:53 +01:00
|
|
|
patches = [./gcc-4.2.patch];
|
2007-08-08 15:20:18 +02:00
|
|
|
configureFlags="--with-icu=${icu}";
|
2007-06-12 17:35:57 +02:00
|
|
|
}
|