40 lines
873 B
Plaintext
40 lines
873 B
Plaintext
# Description: Python language bindings for the wxWindows toolkit.
|
|
# URL: http://www.wxpython.org/
|
|
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
|
|
# Packager: sten, nick dot steeves at shaw dot ca
|
|
# Depends on: pyopengl wxgtk
|
|
|
|
name=wxpython
|
|
version=2.8.7.1
|
|
release=1
|
|
source=(http://dl.sourceforge.net/sourceforge/wxpython/wxPython-src-$version.tar.bz2)
|
|
|
|
build() {
|
|
cd wxPython-src-$version/wxPython
|
|
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 \
|
|
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
|
|
}
|
|
|