nixpkgs-suyu/pkgs/misc/trac/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

13 lines
414 B
Bash

source $stdenv/setup
source $makeWrapper
unpackPhase
mkdir -p $out
cd $name
$python/bin/python setup.py install --prefix=$out
for i in $(cd $out/bin && ls); do
mv $out/bin/$i $out/bin/.orig-$i
makeWrapper $out/bin/.orig-$i $out/bin/$i \
--set PYTHONPATH "$python/site-packages:$out/lib/python2.4/site-packages:$pysqlite/lib/python2.4/site-packages:$subversion/lib/svn-python:$clearsilver/site-packages"
done