[arch-commits] Commit in glew/repos (3 files)
Stéphane Gaudreault
stephane at archlinux.org
Sat Sep 17 21:02:47 UTC 2011
Date: Saturday, September 17, 2011 @ 17:02:46
Author: stephane
Revision: 138158
db-move: moved glew from [staging] to [testing] (x86_64)
Added:
glew/repos/testing-x86_64/
glew/repos/testing-x86_64/PKGBUILD
(from rev 138150, glew/repos/staging-x86_64/PKGBUILD)
Deleted:
glew/repos/staging-x86_64/
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: glew/repos/testing-x86_64/PKGBUILD (from rev 138150, glew/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2011-09-17 21:02:46 UTC (rev 138158)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: SleepyDog
+
+pkgname=glew
+pkgver=1.7.0
+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=('9266f2360c1687a96f2ea06419671d370b2928d1')
+
+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.all
+ install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+ rm "${pkgdir}"/usr/lib/{libGLEW,libGLEWmx}.a
+ chmod 0755 "${pkgdir}"/usr/lib/libGLEW*.so.${pkgver}
+}
More information about the arch-commits
mailing list