mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 21:17:46 +00:00
007f80c1d0
Should eval cleanly, as far as -A tarball tells me. Relevant: issue #2999, issue #739
26 lines
723 B
Nix
26 lines
723 B
Nix
{stdenv, fetchurl}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "STLport-5.2.1";
|
|
|
|
src = fetchurl {
|
|
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/;
|
|
license = stdenv.lib.licenses.free; # seems BSD-like
|
|
};
|
|
}
|