mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 05:31:22 +00:00
9ea7038c51
* wxPython 2.6.3. svn path=/nixpkgs/trunk/; revision=7341
20 lines
343 B
Bash
20 lines
343 B
Bash
source $stdenv/setup
|
|
|
|
flags="WXPORT=gtk2 NO_HEADERS=1 BUILD_GLCANVAS=0 BUILD_OGL=0 UNICODE=1"
|
|
|
|
configurePhase() {
|
|
cd wxPython
|
|
}
|
|
configurePhase=configurePhase
|
|
|
|
buildPhase() {
|
|
python setup.py $flags build
|
|
}
|
|
buildPhase=buildPhase
|
|
|
|
installPhase() {
|
|
python setup.py $flags install --prefix=$out
|
|
}
|
|
installPhase=installPhase
|
|
|
|
genericBuild |