* 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

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

View File

@@ -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;
}