nixpkgs/build/swig-build.sh
Eelco Dolstra 93c7c89b1a * Descriptors for Berkeley DB and SWIG.
* Updated to Apache httpd 2.0.46.
* Build Subversion/Python bindings.

svn path=/nixpkgs/trunk/; revision=76
2003-05-30 20:57:34 +00:00

13 lines
226 B
Bash
Executable File

#! /bin/sh
export PATH=/bin:/usr/bin:/usr/local/bin
top=`pwd`
tar xvfz $src || exit 1
cd SWIG-* || exit 1
./configure --prefix=$top || exit 1
gmake || exit 1
gmake install || exit 1
cd $top || exit 1
rm -rf SWIG-* || exit 1