* Subversion with Java bindings.

svn path=/nixpkgs/trunk/; revision=1322
This commit is contained in:
Eelco Dolstra
2004-08-23 19:23:03 +00:00
parent 57978bb80c
commit 38f56c36dc
6 changed files with 130 additions and 13 deletions

View File

@@ -1,8 +1,3 @@
buildinputs="$perl $python"
. $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd SWIG-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1
buildInputs="$perl $python $j2sdk"
. $stdenv/setup
genericBuild

View File

@@ -1,8 +1,9 @@
{ perlSupport, pythonSupport
, stdenv, fetchurl, perl ? null, python ? null}:
{ perlSupport, pythonSupport, javaSupport
, stdenv, fetchurl, perl ? null, python ? null, j2sdk ? null}:
assert perlSupport -> perl != null;
assert pythonSupport -> python != null;
assert javaSupport -> j2sdk != null;
stdenv.mkDerivation {
name = "swig-1.3.19";
@@ -13,9 +14,9 @@ stdenv.mkDerivation {
md5 = "a733455544426b31868dd87fc162e750";
};
perlSupport = perlSupport;
pythonSupport = pythonSupport;
inherit perlSupport pythonSupport javaSupport;
perl = if perlSupport then perl else null;
python = if pythonSupport then python else null;
j2sdk = if javaSupport then j2sdk else null;
}