summaryrefslogtreecommitdiffstats
path: root/extra/wxpython/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-09-08 22:28:09 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-09-08 22:28:09 +0200
commitce887287150321c034a68ddabbe343e648ab6995 (patch)
treec45360b5eee9c0696d297b4c32a514da84b02e5b /extra/wxpython/Pkgfile
parentba1b7f0dcee05091cc619ce58b6811e90472ba77 (diff)
downloadnutyx-extra-ce887287150321c034a68ddabbe343e648ab6995.tar.gz
nutyx-extra-ce887287150321c034a68ddabbe343e648ab6995.tar.bz2
nutyx-extra-ce887287150321c034a68ddabbe343e648ab6995.tar.xz
nutyx-extra-ce887287150321c034a68ddabbe343e648ab6995.zip
Ajout de wxpython#2.8.9.2-1
Diffstat (limited to 'extra/wxpython/Pkgfile')
-rw-r--r--extra/wxpython/Pkgfile39
1 files changed, 39 insertions, 0 deletions
diff --git a/extra/wxpython/Pkgfile b/extra/wxpython/Pkgfile
new file mode 100644
index 000000000..5c50aafa0
--- /dev/null
+++ b/extra/wxpython/Pkgfile
@@ -0,0 +1,39 @@
+# Description: A wxWidgets GUI toolkit for Python.
+# URL: http://www.wxpython.org
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: wxgtk, python
+
+name=wxpython
+version=2.8.9.2
+release=1
+source=( http://switch.dl.sourceforge.net/sourceforge/$name/wxPython-src-$version.tar.bz2 \
+ editra-ebmlib.diff)
+
+build() {
+ cd wxPython-src-$version/wxPython
+ patch -Np2 -i $SRC/editra-ebmlib.diff
+ install -d $PKG/usr
+ export \
+ CFLAGS="$CFLAGS -fno-strict-aliasing" \
+ CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
+
+ python setup.py \
+ WXPORT=gtk2 \
+ UNICODE=1 \
+ BUILD_GLCANVAS=1 \
+ build install --root=$PKG
+ find $PKG -type f \
+ \( \
+ -name 'AUTHORS' \
+ -o -name 'COPYING' \
+ -o -name 'INSTALL' \
+ -o -name 'NEWS' \
+ -o -name 'THANKS' \
+ -o -name 'TODO' \
+ -o -name 'TODO.txt' \
+ -o -name 'README' \
+ -o -name 'README.txt' \
+ \) -delete
+
+}