forked from mirrors/nixpkgs
480d68ece3
* Some packages needed for the Subversion server. svn path=/nixpkgs/trunk/; revision=586
15 lines
290 B
Bash
Executable file
15 lines
290 B
Bash
Executable file
#! /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
|