updated on Tue Jan 10 08:08:34 UTC 2012
[aur-mirror.git] / wxgtk-debug / PKGBUILD
blob91447aa9d123863143432c00e26363c75895c1df
1 # Maintainer: Jonathan Liu <net147@gmail.com>
2 pkgname=wxgtk-debug
3 pkgver=2.8.12
4 pkgrel=1
5 pkgdesc="GTK+ implementation of wxWidgets API for GUI - debug mode (devel)"
6 arch=('i686' 'x86_64')
7 url="http://wxwidgets.org"
8 license=('custom:wxWindows')
9 depends=('wxgtk')
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')
15 build() {
16 #  cd "${srcdir}/wxPython-src-${pkgver}"
17   cd "${srcdir}/wxGTK-${pkgver}"
18   
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 \
22     --enable-debug
23   make
24   make -C locale allmo
25   cd contrib/src
26   make
29 package() {
30   cd "${srcdir}/wxGTK-${pkgver}"
31   make DESTDIR="${pkgdir}" install
32   cd contrib/src
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: