# Description: Python language bindings for the wxWindows toolkit. # URL: http://www.wxpython.org/ # Maintainer: Danny Rawlins, crux at romster dot me # Packager: sten, nick dot steeves at shaw dot ca # Depends on: python wxgtk name=wxpython version=3.0.2.0 release=1 source=(http://downloads.sourceforge.net/wxpython/wxPython-src-$version.tar.bz2) build() { cd wxPython-src-$version ./configure \ --prefix=/usr \ --libdir=/usr/lib \ --with-gtk=2 \ --with-opengl \ --enable-unicode \ --enable-graphics_ctx \ --enable-mediactrl \ --disable-precomp-headers \ --with-regex=sys \ --with-libpng=sys \ --with-libxpm=sys \ --with-libjpeg=sys \ --with-libtiff=sys cd wxPython /usr/bin/python setup.py \ WXPORT=gtk2 \ UNICODE=1 \ build /usr/bin/python setup.py \ WXPORT=gtk2 \ UNICODE=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 }