mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
stlport: fix and update
This commit is contained in:
parent
602e6a94ee
commit
06007460b4
|
@ -1,10 +1,25 @@
|
||||||
{stdenv, fetchurl}:
|
{stdenv, fetchurl}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "STLport-5.2.0";
|
name = "STLport-5.2.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = mirror://sourceforge/stlport/STLport-5.2.0.tar.bz2;
|
url = "mirror://sourceforge/stlport/${name}.tar.bz2";
|
||||||
md5 = "448d74859407912c0087adcf51bf109a";
|
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 = "free"; # seems BSD-like
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue