2009-04-04 01:54:20 +02:00
|
|
|
{stdenv, fetchurl, icu, expat, zlib, bzip2, python}:
|
2009-02-11 11:02:10 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "boost-1.38.0";
|
2009-04-04 01:54:20 +02:00
|
|
|
|
2009-02-11 11:02:10 +01:00
|
|
|
meta = {
|
|
|
|
homepage = "http://boost.org/";
|
|
|
|
description = "Boost C++ Library Collection";
|
|
|
|
license = "boost-license";
|
|
|
|
};
|
2009-04-04 01:54:20 +02:00
|
|
|
|
2009-02-11 11:02:10 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/boost/boost_1_38_0.tar.bz2";
|
2009-02-11 11:02:18 +01:00
|
|
|
sha256 = "0rk044s4m7l4sma6anml34vxcd9w0fzcy1cy7csbzynjyida9qry";
|
2009-02-11 11:02:10 +01:00
|
|
|
};
|
2009-04-04 01:54:20 +02:00
|
|
|
|
2009-02-11 11:02:10 +01:00
|
|
|
buildInputs = [icu expat zlib bzip2 python];
|
2009-04-04 01:54:20 +02:00
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
makeFlagsArray=(BJAM_CONFIG="-sEXPAT_INCLUDE=${expat}/include -sEXPAT_LIBPATH=${expat}/lib --layout=system variant=release threading=multi link=shared")
|
|
|
|
'';
|
|
|
|
|
2009-02-11 11:02:10 +01:00
|
|
|
configureFlags = "--with-icu=${icu} --with-python=${python}";
|
|
|
|
}
|