1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00
nixpkgs/pkgs/development/python-modules/wxPython-2.5/builder.sh
Eelco Dolstra 04c0ea5234 * Start adding wxPython 2.5. Doesn't work yet though, so disable it
for now.

svn path=/nixpkgs/trunk/; revision=1489
2004-09-22 10:18:02 +00:00

24 lines
518 B
Bash

. $stdenv/setup
flags="WXPORT=gtk2 BUILD_GLCANVAS=0 BUILD_OGL=0"
configurePhase() {
cd wxPython
}
configurePhase=configurePhase
buildPhase() {
# Hack: setup.py should figure this out itself (by calling
# wx-config) but apparently something goes wrong.
export NIX_CFLAGS_COMPILE="`wx-config --cflags` $NIX_CFLAGS_COMPILE"
python setup.py $flags build_ext
}
buildPhase=buildPhase
installPhase() {
python setup.py $flags install --prefix=$out
}
installPhase=installPhase
genericBuild