2005-12-22 13:28:11 +01:00
|
|
|
{stdenv, fetchurl}:
|
2005-12-22 08:39:06 +01:00
|
|
|
|
2013-02-02 13:45:01 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "STLport-5.2.1";
|
2005-12-22 08:39:06 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-02-02 13:45:01 +01:00
|
|
|
url = "mirror://sourceforge/stlport/${name}.tar.bz2";
|
|
|
|
sha256 = "1jbgak1m1qk7d4gyn1p2grbws2icsf7grbs3dh44ai9ck1xh0nvm";
|
|
|
|
};
|
|
|
|
|
|
|
|
# fix hardcoded /usr/bin; not recognizing the standard --disable-static flag
|
|
|
|
configurePhase = ''
|
|
|
|
echo Preconf: build/Makefiles/gmake/*/sys.mak
|
|
|
|
for f in build/Makefiles/gmake/*/sys.mak; do
|
|
|
|
substituteInPlace "$f" --replace /usr/bin/ ""
|
|
|
|
done
|
|
|
|
./configure --prefix=$out
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "An implementation of the C++ Standard Library";
|
|
|
|
homepage = http://sourceforge.net/projects/stlport/;
|
2014-11-06 01:44:33 +01:00
|
|
|
license = stdenv.lib.licenses.free; # seems BSD-like
|
2014-11-26 23:59:03 +01:00
|
|
|
broken = true; # probably glibc-2.20 -related issue
|
2005-12-22 08:39:06 +01:00
|
|
|
};
|
|
|
|
}
|