contrib/wxpython/Pkgfile

39 lines
874 B
Plaintext
Raw Normal View History

2008-01-12 22:46:02 +01:00
# Description: Python language bindings for the wxWindows toolkit.
# URL: http://www.wxpython.org/
2008-03-26 03:45:31 +01:00
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
2008-01-12 22:46:02 +01:00
# Packager: sten, nick dot steeves at shaw dot ca
# Depends on: pyopengl wxgtk
name=wxpython
2009-06-21 12:53:07 +02:00
version=2.8.9.2
2008-01-12 22:46:02 +01:00
release=1
source=(http://downloads.sourceforge.net/sourceforge/$name/wxPython-src-$version.tar.bz2)
2008-01-12 22:46:02 +01:00
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
}