Files
nixpkgs/pkgs/development/python-modules/pysqlite/builder.sh
Ludovic Courtès 09fbef5e2b pysqlite 2.5.5.
svn path=/nixpkgs/trunk/; revision=16228
2009-07-07 22:20:53 +00:00

22 lines
373 B
Bash

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