2011-03-30 20:45:11 +02:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
2012-02-25 17:47:21 +01:00
|
|
|
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
|
|
|
|
|
2011-03-30 20:45:11 +02:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "jam-2.5";
|
|
|
|
src = fetchurl {
|
|
|
|
url = ftp://ftp.perforce.com/jam/jam-2.5.tar;
|
|
|
|
sha256 = "04c6khd7gdkqkvx4h3nbz99lyz7waid4fd221hq5chcygyx1sj3i";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $out/bin
|
2012-02-25 17:47:21 +01:00
|
|
|
cp ${bindir}/jam $out/bin
|
2011-03-30 20:45:11 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://public.perforce.com/wiki/Jam;
|
|
|
|
license = "free";
|
|
|
|
description = "Just Another Make";
|
|
|
|
};
|
|
|
|
}
|