summaryrefslogtreecommitdiffstats
path: root/abs/extra/glew
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-09-26 01:57:08 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-09-26 01:57:08 (GMT)
commit7b29169fff9e7c624890c5edffe85def8a293136 (patch)
tree47753889faa3a2063b66d1c7e7681e703eb1b39a /abs/extra/glew
parentc491dea779dac29afff3578bf8245943817c2339 (diff)
downloadlinhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.zip
linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.gz
linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.bz2
LinHES 6.01.00
Diffstat (limited to 'abs/extra/glew')
-rw-r--r--abs/extra/glew/PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/abs/extra/glew/PKGBUILD b/abs/extra/glew/PKGBUILD
new file mode 100644
index 0000000..989621b
--- /dev/null
+++ b/abs/extra/glew/PKGBUILD
@@ -0,0 +1,23 @@
+# $Id: PKGBUILD 27226 2009-02-17 05:43:56Z eric $
+# AUR-Maintainer: William Rea <sillywilly@gmail.com>
+# Contributor: SleepyDog
+
+pkgname=glew
+pkgver=1.5.1
+pkgrel=1
+pkgdesc="A cross-platform C/C++ extension loading 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}-src.tgz)
+md5sums=('759a59853dfaae4d007b414a3c1712f2')
+
+build() {
+ cd ${startdir}/src/${pkgname}
+ 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
+}