2007-08-08 13:20:18 +00:00
|
|
|
{stdenv, fetchurl, icu, zlib, bzip2, python}:
|
2007-06-12 15:35:57 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2007-10-19 19:17:06 +00:00
|
|
|
name = "boost-1.34.1";
|
2007-06-12 15:35:57 +00:00
|
|
|
src = fetchurl {
|
2007-10-19 19:17:06 +00:00
|
|
|
url = mirror://sourceforge/boost/boost_1_34_1.tar.bz2;
|
|
|
|
sha256 = "0k7cjsgg3iqy49f9nnhyp945yry0bichd88p04sg3915n1snr1hg";
|
2007-06-12 15:35:57 +00:00
|
|
|
};
|
2007-08-08 13:20:18 +00: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-15 23:45:53 +00:00
|
|
|
patches = [./gcc-4.2.patch];
|
2007-08-08 13:20:18 +00:00
|
|
|
configureFlags="--with-icu=${icu}";
|
2007-06-12 15:35:57 +00:00
|
|
|
}
|