diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2013-02-02 13:45:01 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2013-02-02 13:45:01 +0100 |
commit | 06007460b4c7874b5e6e0b1effe7251430b0b100 (patch) | |
tree | 6c3671f05b8e7aef44825a80f9f1db8710169080 /pkgs/development/libraries/stlport | |
parent | 602e6a94eea1e942deb24a9a943c780115bacd48 (diff) | |
download | nixpkgs-06007460b4c7874b5e6e0b1effe7251430b0b100.tar nixpkgs-06007460b4c7874b5e6e0b1effe7251430b0b100.tar.gz nixpkgs-06007460b4c7874b5e6e0b1effe7251430b0b100.tar.bz2 nixpkgs-06007460b4c7874b5e6e0b1effe7251430b0b100.tar.lz nixpkgs-06007460b4c7874b5e6e0b1effe7251430b0b100.tar.xz nixpkgs-06007460b4c7874b5e6e0b1effe7251430b0b100.tar.zst nixpkgs-06007460b4c7874b5e6e0b1effe7251430b0b100.zip |
stlport: fix and update
Diffstat (limited to 'pkgs/development/libraries/stlport')
-rw-r--r-- | pkgs/development/libraries/stlport/default.nix | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/pkgs/development/libraries/stlport/default.nix b/pkgs/development/libraries/stlport/default.nix index 040395ecf8a..f1c8a84fee2 100644 --- a/pkgs/development/libraries/stlport/default.nix +++ b/pkgs/development/libraries/stlport/default.nix @@ -1,10 +1,25 @@ {stdenv, fetchurl}: -stdenv.mkDerivation { - name = "STLport-5.2.0"; +stdenv.mkDerivation rec { + name = "STLport-5.2.1"; src = fetchurl { - url = mirror://sourceforge/stlport/STLport-5.2.0.tar.bz2; - md5 = "448d74859407912c0087adcf51bf109a"; + 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 = "free"; # seems BSD-like }; } |