summary refs log tree commit diff
path: root/pkgs/development/python2-packages/wxPython/builder.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python2-packages/wxPython/builder.sh')
-rw-r--r--pkgs/development/python2-packages/wxPython/builder.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/development/python2-packages/wxPython/builder.sh b/pkgs/development/python2-packages/wxPython/builder.sh
new file mode 100644
index 00000000000..ed7177081f9
--- /dev/null
+++ b/pkgs/development/python2-packages/wxPython/builder.sh
@@ -0,0 +1,17 @@
+source $stdenv/setup
+
+flags="WXPORT=gtk2 NO_HEADERS=1 BUILD_GLCANVAS=0 BUILD_OGL=0 UNICODE=1"
+
+configurePhase() {
+    cd wxPython
+}
+
+buildPhase() {
+    python setup.py $flags build
+}
+
+installPhase() {
+    python setup.py $flags install --prefix=$out
+}
+
+genericBuild