updated on Sun Jan 22 16:00:49 UTC 2012
[aur-mirror.git] / meego-sdk-gles-libs / PKGBUILD
blobd122690d8479cb69cd104b1761625f1eab76221a
1 # Maintainer: Andrea Scarpino <andrea@archlinux.org>
3 pkgname=meego-sdk-gles-libs
4 pkgver=1.3.0+git22+82ab79d
5 pkgrel=2
6 _rpmver=1.6
7 pkgdesc='QEMU OpenGL ES 2.0 accelerator'
8 arch=('i686' 'x86_64')
9 url='http://meego.gitorious.org/qemu-maemo/gles-libs'
10 license=('MIT' 'GPL2')
11 depends=('libgl')
12 source=("http://download.meego.com/live/Tools:/SDK:/Host/Trunk/src/gles-libs-${pkgver}-${_rpmver}.src.rpm")
13 md5sums=('94795079c897939585aae91000bf9ef0')
15 build() {
16   cd "${srcdir}"
17   tar -zxf gles-libs-${pkgver}.tar.gz
19   cd gles-libs-${pkgver}/dgles2
20   ./configure --prefix=/opt/meego/gles-libs \
21     --enable-osmesa \
22     --enable-offscreen \
23     --enable-glx \
24     --enable-x11
25   make
28 package() {
29   cd "${srcdir}"/gles-libs-${pkgver}/dgles2
30   make I="${pkgdir}"/opt/meego/gles-libs install
31   
32   # cleanup
33   rm -rf "${pkgdir}"/opt/meego/gles-libs/lib/pkgconfig