1 # Maintainer: Jonathan Liu <net147@gmail.com>
5 pkgdesc="GTK+ implementation of wxWidgets API for GUI - debug mode (devel)"
7 url="http://wxwidgets.org"
8 license=('custom:wxWindows')
10 makedepends=('libgnomeprintui' 'gstreamer0.10-base-plugins' 'gconf' 'mesa')
11 #source=("http://downloads.sourceforge.net/wxpython/wxPython-src-${pkgver}.tar.bz2")
12 source=(http://downloads.sourceforge.net/wxwindows/wxGTK-${pkgver}.tar.bz2)
13 md5sums=('08f81ab60647308058f6ce99712b14f8')
16 # cd "${srcdir}/wxPython-src-${pkgver}"
17 cd "${srcdir}/wxGTK-${pkgver}"
19 ./configure --prefix=/usr --libdir=/usr/lib --with-gtk=2 --with-opengl --enable-unicode \
20 --enable-graphics_ctx --with-gnomeprint --disable-optimize --enable-mediactrl \
21 --with-libpng=sys --with-libxpm=sys --with-libjpeg=sys --with-libtiff=sys \
30 cd "${srcdir}/wxGTK-${pkgver}"
31 make DESTDIR="${pkgdir}" install
33 make DESTDIR="${pkgdir}" install
34 msg "Removing files already present in wxgtk package..."
35 rm -fr "${pkgdir}/usr/share" &>/dev/null
36 rm -fr "${pkgdir}/usr/include" &>/dev/null
37 rm -fr "${pkgdir}/usr/bin" &>/dev/null
38 install -D -m644 ../../docs/licence.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
41 # vim:set ts=2 sw=2 et: