Merge pull request #1638 from wkennington/cache.mumble

Add more configurable options to mumble
This commit is contained in:
Domen Kožar
2014-01-31 00:03:20 -08:00
6 changed files with 138 additions and 26 deletions

View File

@@ -0,0 +1,19 @@
{ stdenv, fetchurl, mcpp }:
stdenv.mkDerivation rec {
name = "mcpp-2.7.2";
src = fetchurl {
url = "mirror://sourceforge/mcpp/${name}.tar.gz";
sha256 = "0r48rfghjm90pkdyr4khxg783g9v98rdx2n69xn8f6c5i0hl96rv";
};
configureFlags = [ "--enable-mcpplib" ];
meta = with stdenv.lib; {
homepage = "http://mcpp.sourceforge.net/";
description = "A portable c preprocessor";
license = licenses.bsd2;
platforms = platforms.unix;
};
}

View File

@@ -0,0 +1,32 @@
{ stdenv, fetchurl
, cxxSupport ? true
}:
stdenv.mkDerivation rec {
name = "db-5.3.28";
src = fetchurl {
url = "http://download.oracle.com/berkeley-db/${name}.tar.gz";
sha256 = "0a1n5hbl7027fbz5lm0vp0zzfp1hmxnz14wx3zl9563h83br5ag0";
};
configureFlags = [
(if cxxSupport then "--enable-cxx" else "--disable-cxx")
];
preConfigure = ''
cd build_unix
configureScript=../dist/configure
'';
postInstall = ''
rm -rf $out/docs
'';
meta = with stdenv.lib; {
homepage = "http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/index.html";
description = "Berkeley DB";
license = "Berkeley Database License";
platforms = platforms.unix;
};
}

View File

@@ -0,0 +1,28 @@
{ stdenv, fetchurl, mcpp, bzip2, expat, openssl, db5 }:
stdenv.mkDerivation rec {
name = "zeroc-ice-3.5.1";
src = fetchurl {
url = "http://www.zeroc.com/download/Ice/3.5/Ice-3.5.1.tar.gz";
sha256 = "14pk794p0fq3hcp50xmqnf9pp15dggiqhcnsav8xpnka9hcm37lq";
};
buildInputs = [ mcpp bzip2 expat openssl db5 ];
buildPhase = ''
cd cpp
make OPTIMIZE=yes
'';
installPhase = ''
make prefix=$out install
'';
meta = with stdenv.lib; {
homepage = "http://www.zeroc.com/ice.html";
description = "The internet communications engine";
license = licenses.gpl2;
platforms = platforms.unix;
};
}