From 1dc6d4cbbdd30b1054b2a09237cb04ce9e8bd63c Mon Sep 17 00:00:00 2001 From: Cecil Date: Mon, 3 Jan 2011 17:32:34 -0800 Subject: glew:initial inclusion. Needed by mesa-demos. --- abs/extra/glew/PKGBUILD | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/abs/extra/glew/PKGBUILD b/abs/extra/glew/PKGBUILD index 1db995d..291abce 100644 --- a/abs/extra/glew/PKGBUILD +++ b/abs/extra/glew/PKGBUILD @@ -1,23 +1,28 @@ -# $Id: PKGBUILD 27226 2009-02-17 05:43:56Z eric $ -# AUR-Maintainer: William Rea +# $Id: PKGBUILD 98297 2010-11-06 17:51:38Z stephane $ +# Maintainer: Stéphane Gaudreault # Contributor: SleepyDog pkgname=glew -pkgver=1.5.5 +pkgver=1.5.7 pkgrel=1 -pkgdesc="A cross-platform C/C++ extension loading library" +pkgdesc="The OpenGL Extension Wrangler Library" arch=('i686' 'x86_64') url="http://glew.sourceforge.net" license=('BSD' 'MIT' 'GPL') depends=('libxmu' 'libxi' 'mesa') -makedepends=('hd2u') source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tgz) +sha1sums=('4adc816afbfb65a4969484d10343a88c117ca989') build() { - cd ${startdir}/src/${pkgname}-${pkgver} - dos2unix config/config.guess - make || return 1 - make GLEW_DEST=${startdir}/pkg/usr LIBDIR=${startdir}/pkg/usr/lib install || return 1 - install -D -m644 LICENSE.txt ${startdir}/pkg/usr/share/licenses/${pkgname}/LICENSE.txt || return 1 + cd "${srcdir}/${pkgname}-${pkgver}" + sed -i 's|lib64|lib|' config/Makefile.linux + make } -md5sums=('3621f27cfd3e33d5dbcc1111ecb5b762') + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make GLEW_DEST="${pkgdir}/usr" install + install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +# vim: set noexpandtab tabstop=8 shiftwidth=8 textwidth=132 autoindent -- cgit v0.12