[arch-commits] Commit in glew/repos (6 files)
Eric Bélanger
eric at archlinux.org
Sun Jul 29 21:08:24 UTC 2012
Date: Sunday, July 29, 2012 @ 17:08:24
Author: eric
Revision: 164281
db-move: moved glew from [staging] to [testing] (i686, x86_64)
Added:
glew/repos/testing-i686/
glew/repos/testing-i686/PKGBUILD
(from rev 164277, glew/repos/staging-i686/PKGBUILD)
glew/repos/testing-x86_64/
glew/repos/testing-x86_64/PKGBUILD
(from rev 164277, glew/repos/staging-x86_64/PKGBUILD)
Deleted:
glew/repos/staging-i686/
glew/repos/staging-x86_64/
-------------------------+
testing-i686/PKGBUILD | 29 +++++++++++++++++++++++++++++
testing-x86_64/PKGBUILD | 29 +++++++++++++++++++++++++++++
2 files changed, 58 insertions(+)
Copied: glew/repos/testing-i686/PKGBUILD (from rev 164277, glew/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2012-07-29 21:08:24 UTC (rev 164281)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: SleepyDog
+
+pkgname=glew
+pkgver=1.8.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=('641c6bb3f924ec786e1e6cf2b1b230f594e0f0e4')
+
+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}
+}
Copied: glew/repos/testing-x86_64/PKGBUILD (from rev 164277, glew/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-07-29 21:08:24 UTC (rev 164281)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: SleepyDog
+
+pkgname=glew
+pkgver=1.8.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=('641c6bb3f924ec786e1e6cf2b1b230f594e0f0e4')
+
+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