summaryrefslogtreecommitdiffstats
path: root/abs/extra
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-01-04 02:23:24 (GMT)
committerCecil <knoppmyth@gmail.com>2011-01-04 02:23:24 (GMT)
commit45dafde3f3a20c0797d9646242df69b91d4b684d (patch)
tree3238f3c2a15673cdacb8dd822efef2e81e5511a5 /abs/extra
parent27c4394d47b3806c2fe1d6a4addfa5374da9d5c8 (diff)
downloadlinhes_pkgbuild-45dafde3f3a20c0797d9646242df69b91d4b684d.zip
linhes_pkgbuild-45dafde3f3a20c0797d9646242df69b91d4b684d.tar.gz
linhes_pkgbuild-45dafde3f3a20c0797d9646242df69b91d4b684d.tar.bz2
glew:initial inclusion.
Diffstat (limited to 'abs/extra')
-rw-r--r--abs/extra/glew/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/abs/extra/glew/PKGBUILD b/abs/extra/glew/PKGBUILD
new file mode 100644
index 0000000..291abce
--- /dev/null
+++ b/abs/extra/glew/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 98297 2010-11-06 17:51:38Z stephane $
+# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
+# Contributor: SleepyDog
+
+pkgname=glew
+pkgver=1.5.7
+pkgrel=1
+pkgdesc="The OpenGL Extension Wrangler Library"
+arch=('i686' 'x86_64')
+url="http://glew.sourceforge.net"
+license=('BSD' 'MIT' 'GPL')
+depends=('libxmu' 'libxi' 'mesa')
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tgz)
+sha1sums=('4adc816afbfb65a4969484d10343a88c117ca989')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i 's|lib64|lib|' config/Makefile.linux
+ make
+}
+
+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