2009-04-04 01:54:20 +02:00
|
|
|
{stdenv, fetchurl, icu, expat, zlib, bzip2, python}:
|
2008-08-25 12:00:46 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "boost-1.36.0";
|
2009-04-04 01:54:20 +02:00
|
|
|
|
2008-08-25 12:00:46 +02:00
|
|
|
meta = {
|
|
|
|
homepage = "http://boost.org/";
|
|
|
|
description = "Boost C++ Library Collection";
|
|
|
|
license = "boost-license";
|
|
|
|
};
|
2009-04-04 01:54:20 +02:00
|
|
|
|
2008-08-25 12:00:46 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/boost/boost_1_36_0.tar.bz2";
|
|
|
|
sha256 = "1vydzfvzg0fkzixkr2jikvcc0zbh5qgw98hr6nhj0z12ppxhqjls";
|
|
|
|
};
|
2009-04-04 01:54:20 +02:00
|
|
|
|
2008-08-25 12:00:46 +02: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")
|
|
|
|
'';
|
|
|
|
|
2008-08-25 12:00:46 +02:00
|
|
|
configureFlags = "--with-icu=${icu} --with-python=${python}";
|
|
|
|
}
|