summaryrefslogtreecommitdiffstats
path: root/abs/extra/wxgtk/PKGBUILD
blob: d98ac43317ab697cf5609f79f8a5abf3b3d09704 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $Id: PKGBUILD 29177 2009-03-06 09:02:47Z eric $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Original Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# New Version - Contributor: Bob Finch <w9ya@arrl.net>
# with help from J. Santiago Hirschfeld <jsantiagoh@yahoo.com.ar> aka Angelus

pkgname=wxgtk
pkgver=2.8.9.2
pkgrel=2
pkgdesc="wxGTK - GTK+ implementation of wxWidgets API for GUI"
arch=('i686' 'x86_64')
url="http://wxwidgets.org"
license=('custom:wxWindows')
depends=('gtk2>=2.12.11' 'mesa' 'libjpeg')
#makedepends=('libgnomeprintui')
#source=(http://downloads.sourceforge.net/wxwindows/wxGTK-${pkgver}.tar.bz2)
source=(http://downloads.sourceforge.net/wxpython/wxPython-src-${pkgver}.tar.bz2)
md5sums=('e3d89746af98b9279e4ff39a57f6dc63')
sha1sums=('a0d58d8b9606d04a35b9853da15eb7dfb08d5637')

build() {
  cd ${srcdir}/wxPython-src-${pkgver}
  ./configure --prefix=/usr --libdir=/usr/lib --with-gtk=2 --with-opengl --enable-unicode \
	  --enable-graphics_ctx --without-gnomeprint --disable-optimize || return 1
  make || return 1
  make -C locale allmo || return 1
  make DESTDIR=${pkgdir} install || return 1
  cd contrib/src
  make || return 1
  make DESTDIR=${pkgdir} install || return 1
  install -D -m644 ../../docs/licence.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1
}