mldonkey: update to 3.1.3

Claimed suport for ocaml 4.00.0 and finally, BT magnets.
This commit is contained in:
Lluis Batlle 2012-09-23 23:55:42 +02:00
parent 30e76124e6
commit be20063772

View File

@ -1,11 +1,11 @@
{stdenv, fetchurl, ocaml, zlib, bzip2, ncurses, file, gd, libpng }: {stdenv, fetchurl, ocaml, zlib, bzip2, ncurses, file, gd, libpng }:
stdenv.mkDerivation (rec { stdenv.mkDerivation (rec {
name = "mldonkey-3.1.1"; name = "mldonkey-3.1.3";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/mldonkey/${name}.tar.bz2"; url = "mirror://sourceforge/mldonkey/${name}.tar.bz2";
sha256 = "1cj0xvfx03jnpifcqxcgfjhkl3f70r86d8zn2flj9wvlnam98qlr"; sha256 = "1qnr0qzliw4aynf2zhmm5hmrc9bd5vhdq3bi8n88j4nc86gry9bw";
}; };
meta = { meta = {
@ -15,9 +15,9 @@ stdenv.mkDerivation (rec {
buildInputs = [ ocaml zlib ncurses bzip2 file gd libpng ]; buildInputs = [ ocaml zlib ncurses bzip2 file gd libpng ];
configureFlags = [ "--disable-gui" ]; configureFlags = [ "--disable-gui" ];
} // (if (stdenv.system != "i686-linux" && stdenv.system != "x86_64-linux") then } // (if !ocaml.nativeCompilers then
{ {
# Byte code compilation (the ocaml opt compiler is not supported in many platforms) # Byte code compilation (the ocaml opt compiler is not supported in some platforms)
buildPhase = "make mlnet.byte"; buildPhase = "make mlnet.byte";
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin