blob: c14cae0298a234335f2ae17e66456ae517e89796 (
plain)
1 # Description: Python language bindings for the wxWindows toolkit.
2 # URL: http://www.wxpython.org/
3 # Maintainer: Danny Rawlins, monster dot romster at gmail dot com
4 # Packager: sten, nick dot steeves at shaw dot ca
5 # Depends on: pyopengl pycairo wxgtk
6
7 name=wxpython
8 version=2.8.11.0
9 release=1
10 source=(http://downloads.sourceforge.net/project/$name/wxPython/$version/wxPython-src-$version.tar.bz2)
11
12 build() {
13 cd wxPython-src-$version/wxPython
14 install -d $PKG/usr
15
16 export \
17 CFLAGS="$CFLAGS -fno-strict-aliasing" \
18 CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
19
20 python setup.py \
21 WXPORT=gtk2 \
22 UNICODE=1 \
23 BUILD_GLCANVAS=1 \
24 install --root=$PKG
25
26 find $PKG -type f \
27 \( \
28 -name 'AUTHORS' \
29 -o -name 'COPYING' \
30 -o -name 'INSTALL' \
31 -o -name 'NEWS' \
32 -o -name 'THANKS' \
33 -o -name 'TODO' \
34 -o -name 'TODO.txt' \
35 -o -name 'README' \
36 -o -name 'README.txt' \
37 \) -delete
38 }
|