summaryrefslogtreecommitdiff
path: root/wxpython/Pkgfile
blob: 07e2ec62ae0c5968c93ab914300f87c2de9ebc45 (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: python wxgtk
    6 
    7 name=wxpython
    8 version=3.0.1.1
    9 release=1
   10 source=(http://downloads.sourceforge.net/wxpython/wxPython-src-$version.tar.bz2)
   11 
   12 build() {
   13 	cd wxPython-src-$version
   14 
   15 	./configure \
   16 		--prefix=/usr \
   17 		--libdir=/usr/lib \
   18 		--with-gtk=2 \
   19 		--with-opengl \
   20 		--enable-unicode \
   21 		--enable-graphics_ctx \
   22 		--enable-mediactrl \
   23 		--disable-precomp-headers \
   24 		--with-regex=sys \
   25 		--with-libpng=sys \
   26 		--with-libxpm=sys \
   27 		--with-libjpeg=sys \
   28 		--with-libtiff=sys
   29 
   30 	cd wxPython
   31 
   32 	/usr/bin/python setup.py \
   33 		WXPORT=gtk2 \
   34 		UNICODE=1 \
   35 		build
   36 
   37 	/usr/bin/python setup.py \
   38 		WXPORT=gtk2 \
   39 		UNICODE=1 \
   40 		install \
   41 		--root="$PKG"
   42 
   43 	find $PKG -type f \
   44 	\( \
   45 		-name 'AUTHORS' \
   46 		-o -name 'COPYING' \
   47 		-o -name 'INSTALL' \
   48 		-o -name 'NEWS' \
   49 		-o -name 'THANKS' \
   50 		-o -name 'TODO' \
   51 		-o -name 'TODO.txt' \
   52 		-o -name 'README' \
   53 		-o -name 'README.txt' \
   54 	\) -delete
   55 }

Generated by cgit