Added erlang/ejabberd packages

svn path=/nixpkgs/trunk/; revision=10258
This commit is contained in:
Sander van der Burg 2008-01-23 10:06:07 +00:00
parent 8c9f87cd0c
commit d5b4e5606f
5 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,14 @@
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

@ -0,0 +1,11 @@
{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,9 @@
buildInputs="$expat $erlang $zlib $openssl"
source $stdenv/setup
tar xfvz $src
cd $name/src
./configure --prefix=$out
make
make install

View File

@ -0,0 +1,11 @@
{stdenv, fetchurl, expat, erlang, zlib, openssl}:
stdenv.mkDerivation {
name = "ejabberd-1.1.4";
builder = ./builder.sh;
src = fetchurl {
url = http://www.process-one.net/downloads/ejabberd/1.1.4/ejabberd-1.1.4.tar.gz;
md5 = "65e9cd346f11a28afbacfe1d7be3a33b";
};
inherit expat erlang zlib openssl;
}

View File

@ -1265,6 +1265,11 @@ rec {
inherit (xlibs) libX11 libXau libXt;
};
erlang = import ../development/interpreters/erlang {
stdenv = overrideGCC stdenv gcc41NPTL;
inherit fetchurl perl gnum4 ncurses openssl;
};
guile = import ../development/interpreters/guile {
inherit fetchurl stdenv ncurses readline libtool gmp;
};
@ -2997,6 +3002,10 @@ rec {
inherit fetchurl stdenv ;
};
ejabberd = import ../servers/xmpp/ejabberd {
inherit fetchurl stdenv expat erlang zlib openssl;
};
ircdHybrid = import ../servers/irc/ircd-hybrid {
inherit fetchurl stdenv openssl zlib;
};