Added dbus-java and libmatthew-java (dependency for dbus-java) packages

svn path=/nixpkgs/trunk/; revision=19170
This commit is contained in:
Sander van der Burg 2010-01-02 13:28:51 +00:00
parent 05fce85edc
commit 1fd64ed634
3 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,21 @@
{stdenv, fetchurl, gettext, jdk, libmatthew_java}:
stdenv.mkDerivation {
name = "dbus-java-2.7";
src = fetchurl {
url = http://dbus.freedesktop.org/releases/dbus-java/dbus-java-2.7.tar.gz;
sha256 = "0cyaxd8x6sxmi6pklkkx45j311a6w51fxl4jc5j3inc4cailwh5y";
};
JAVA_HOME=jdk;
JAVA="${jdk}/bin/java";
PREFIX=''''${out}'';
JAVAUNIXLIBDIR="${libmatthew_java}/lib/jni";
JAVAUNIXJARDIR="${libmatthew_java}/share/java";
buildInputs = [ gettext jdk ];
# I'm too lazy to build the documentation
preBuild = ''
sed -i -e "s|all: bin doc man|all: bin|" \
-e "s|install: install-bin install-man install-doc|install: install-bin|" Makefile
'';
maintainers = [ stdenv.lib.maintainers.sander ];
}

View file

@ -0,0 +1,13 @@
{stdenv, fetchurl, jdk}:
stdenv.mkDerivation {
name = "libmatthew-java-0.7.2";
src = fetchurl {
url = http://www.matthew.ath.cx/projects/java/libmatthew-java-0.7.2.tar.gz;
sha256 = "00zd6vplbvha64pf65bpw44abg2y8irblik30pbk35wcm86a0j4z";
};
JAVA_HOME=jdk;
PREFIX=''''${out}'';
buildInputs = [ jdk ];
maintainers = [ stdenv.lib.maintainers.sander ];
}

View file

@ -3197,6 +3197,10 @@ let
inherit fetchurl stdenv pkgconfig gettext dbus expat glib;
};
dbus_java = import ../development/libraries/java/dbus-java {
inherit stdenv fetchurl gettext jdk libmatthew_java;
};
dclib = import ../development/libraries/dclib {
inherit fetchurl stdenv libxml2 openssl bzip2;
};
@ -3941,6 +3945,10 @@ let
inherit fetchurl stdenv;
};
libmatthew_java = import ../development/libraries/java/libmatthew-java {
inherit stdenv fetchurl jdk;
};
libmcs = import ../development/libraries/libmcs {
inherit fetchurl stdenv pkgconfig libmowgli;
};