summaryrefslogtreecommitdiffstats
path: root/abs/extra/glew/PKGBUILD
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-01-04 01:32:34 (GMT)
committerCecil <knoppmyth@gmail.com>2011-01-04 01:32:34 (GMT)
commit1dc6d4cbbdd30b1054b2a09237cb04ce9e8bd63c (patch)
treefbb1c10ed1741c5ab0f4de7e537e38db6f0c3fe6 /abs/extra/glew/PKGBUILD
parent1e9dea8744ac41a9ddd5356afa19ea453c6e4855 (diff)
downloadlinhes_pkgbuild-1dc6d4cbbdd30b1054b2a09237cb04ce9e8bd63c.zip
linhes_pkgbuild-1dc6d4cbbdd30b1054b2a09237cb04ce9e8bd63c.tar.gz
linhes_pkgbuild-1dc6d4cbbdd30b1054b2a09237cb04ce9e8bd63c.tar.bz2
glew:initial inclusion. Needed by mesa-demos.
Diffstat (limited to 'abs/extra/glew/PKGBUILD')
-rw-r--r--abs/extra/glew/PKGBUILD27
1 files 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 <sillywilly@gmail.com>
+# $Id: PKGBUILD 98297 2010-11-06 17:51:38Z stephane $
+# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
# 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