nixpkgs/pkgs/development/libraries/pysqlite/builder.sh
Roy van den Broek 3c8a7d98b0 * Added ClearSilver 0.10.3.
* Added SQLite 3.3.
* Added PySQLite 2.2.2.
* Added Trac 0.9.5. To get you started; a new project environment is
  created by executing:

    $ trac-admin /path/to/trac_project_env initenv

  Running the server can be done by executing:

    $ tracd --port 8000 /path/to/projectenv

  Trac is then available at http://localhost:8000/projectenv. More
  information available at http://www.edgewall.com/trac/.


svn path=/nixpkgs/trunk/; revision=5195
2006-04-22 18:08:37 +00:00

23 lines
427 B
Bash

source $stdenv/setup
source $substituter
configurePhase() {
substituteInPlace "setup.cfg" \
--replace "/usr/local/include" "$sqlite/include" \
--replace "/usr/local/lib" "$sqlite/lib"
cp setup.cfg /tmp
}
configurePhase=configurePhase
buildPhase() {
$python/bin/python setup.py build
}
buildPhase=buildPhase
installPhase() {
$python/bin/python setup.py install --prefix=$out
}
installPhase=installPhase
genericBuild