3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/build-managers/jam/default.nix
Lluís Batlle i Rossell 675e16f805 Fixing jam for i686-linux. That should allow building trigger rally.
svn path=/nixpkgs/trunk/; revision=32557
2012-02-25 16:47:21 +00:00

27 lines
597 B
Nix

{stdenv, fetchurl}:
let
bindir = if stdenv.system == "i686-linux" then "bin.linuxx86"
else if stdenv.system == "x86_64-linux" then "bin.linux"
else throw "Unsupported platform by now";
in
stdenv.mkDerivation {
name = "jam-2.5";
src = fetchurl {
url = ftp://ftp.perforce.com/jam/jam-2.5.tar;
sha256 = "04c6khd7gdkqkvx4h3nbz99lyz7waid4fd221hq5chcygyx1sj3i";
};
installPhase = ''
ensureDir $out/bin
cp ${bindir}/jam $out/bin
'';
meta = {
homepage = http://public.perforce.com/wiki/Jam;
license = "free";
description = "Just Another Make";
};
}