* Added some missing semicolons.

* Some packages needed for the Subversion server.

svn path=/nixpkgs/trunk/; revision=586
This commit is contained in:
Eelco Dolstra
2003-12-21 20:52:13 +00:00
parent 38bc744a0b
commit 480d68ece3
13 changed files with 116 additions and 10 deletions
+10
View File
@@ -0,0 +1,10 @@
#! /bin/sh
buildinputs=""
. $stdenv/setup || exit 1
tar xvfj $src || exit 1
cd Python-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1
@@ -0,0 +1,10 @@
{stdenv, fetchurl}: derivation {
name = "python-2.3.3";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://www.python.org/ftp/python/2.3.3/Python-2.3.3.tar.bz2;
md5 = "70ada9f65742ab2c77a96bcd6dffd9b1";
};
stdenv = stdenv;
}
+14
View File
@@ -0,0 +1,14 @@
#! /bin/sh
buildinputs="$perl $db4"
. $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd BerkeleyDB-* || exit 1
echo "LIB = $db4/lib" > config.in
echo "INCLUDE = $db4/include" >> config.in
perl Makefile.PL || exit 1
make || exit 1
make install SITEPREFIX=$out PERLPREFIX=$out || exit 1
@@ -0,0 +1,16 @@
{stdenv, fetchurl, perl, db4}:
assert !isNull perl && !isNull db4;
derivation {
name = "perl-BerkeleyDB-0.23";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://archive.cs.uu.nl/mirror/CPAN/authors/id/P/PM/PMQS/BerkeleyDB-0.23.tar.gz;
md5 = "d97b85ea5b61bde7de4a998c91ef29c7";
};
stdenv = stdenv;
perl = perl;
db4 = db4;
}
+10
View File
@@ -0,0 +1,10 @@
#! /bin/sh
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
@@ -0,0 +1,23 @@
{ perlSupport, pythonSupport
, stdenv, fetchurl, perl ? null, python ? null}:
assert perlSupport -> !isNull perl;
assert pythonSupport -> !isNull python;
derivation {
name = "swig-1.3.19";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://heanet.dl.sourceforge.net/sourceforge/swig/swig-1.3.19.tar.gz;
md5 = "a733455544426b31868dd87fc162e750";
};
perlSupport = perlSupport;
pythonSupport = pythonSupport;
stdenv = stdenv;
perl = if perlSupport then perl else null;
python = if pythonSupport then python else null;
}