erlang and libsigsegv upgraded

svn path=/nixpkgs/branches/stdenv-updates/; revision=10537
This commit is contained in:
Yury G. Kudryashov 2008-02-07 10:43:05 +00:00
parent 4b881c08e3
commit dd184fa88d
7 changed files with 40 additions and 36 deletions

View File

@ -0,0 +1,12 @@
args: with args;
stdenv.mkDerivation {
name = "erlang-" + version;
src = fetchurl {
url = http://www.erlang.org/download/otp_src_R11B-5.tar.gz;
md5 = "96acec41da87d6ee0ef18e1aab36ffdd";
};
buildInputs = [perl gnum4 ncurses openssl];
patchPhase = '' sed -i "s@/bin/rm@rm@" lib/odbc/configure erts/configure '';
configureFlags = "--with-ssl=${openssl}";
}

View File

@ -0,0 +1,12 @@
args: with args;
stdenv.mkDerivation {
name = "erlang-" + version;
src = fetchurl {
url = "http://www.erlang.org/download/otp_src_" + version + ".tar.gz";
sha256 = "16w7snhbjzwiywppsp04yiy2bkncff8pf4i643kqzkqx578jhaqz";
};
buildInputs = [perl gnum4 ncurses openssl];
patchPhase = '' sed -i "s@/bin/rm@rm@" lib/odbc/configure erts/configure '';
configureFlags = "--with-ssl=${openssl}";
}

View File

@ -1,14 +0,0 @@
buildInputs="$perl $gnum4 $ncurses $openssl"
source $stdenv/setup
tar xfvz $src
cd otp_src_*
# Fix some hard coded paths to /bin/rm
sed -i -e "s|/bin/rm|rm|" lib/odbc/configure
sed -i -e "s|/bin/rm|rm|" erts/configure
./configure --prefix=$out --with-ssl=$openssl
make
make install

View File

@ -1,11 +0,0 @@
{stdenv, fetchurl, perl, ncurses, gnum4, openssl}:
stdenv.mkDerivation {
name = "erlang-R11B-5";
builder = ./builder.sh;
src = fetchurl {
url = http://www.erlang.org/download/otp_src_R11B-5.tar.gz;
md5 = "96acec41da87d6ee0ef18e1aab36ffdd";
};
inherit perl ncurses gnum4 openssl;
}

View File

@ -0,0 +1,14 @@
args: with args;
stdenv.mkDerivation rec {
name = "libsigsegv-" + version;
src = fetchurl {
url = "mirror://gnu/libsigsegv/${name}.tar.gz";
sha256 = "0fvcsq9msi63vrbpvks6mqkrnls5cfy6bzww063sqhk2h49vsyyg";
};
meta = {
homepage = http://libsigsegv.sf.net;
description = "A library for handling page faults in user mode";
};
}

View File

@ -1,9 +0,0 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "libsigsegv-2.1";
src = fetchurl {
url = mirror://gnu/libsigsegv/libsigsegv-2.1.tar.gz;
md5 = "6d75ca3fede5fbfd72a78bc918d9e174";
};
}

View File

@ -1306,7 +1306,7 @@ rec {
inherit (xlibs) libX11 libXau libXt;
};
erlang = import ../development/interpreters/erlang {
erlang = selectVersion ../development/interpreters/erlang "R12B-1" {
inherit fetchurl perl gnum4 ncurses openssl stdenv;
};
@ -2296,7 +2296,7 @@ rec {
inherit fetchurl stdenv pkgconfig;
};
libsigsegv = import ../development/libraries/libsigsegv {
libsigsegv = selectVersion ../development/libraries/libsigsegv "2.5" {
inherit fetchurl stdenv;
};