summaryrefslogtreecommitdiff
path: root/community/glee
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-16 00:01:25 +0000
committerroot <root@rshg054.dnsready.net>2012-06-16 00:01:25 +0000
commit94fa10f3a918892a08707aa27eb32a83a4959879 (patch)
tree27111dcbae78f85f5016ac49dd08eff5f7e976c0 /community/glee
parent0f99ce5b4d8585285835a277dcbdaf1493d00635 (diff)
Sat Jun 16 00:01:25 UTC 2012
Diffstat (limited to 'community/glee')
-rw-r--r--community/glee/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/community/glee/PKGBUILD b/community/glee/PKGBUILD
new file mode 100644
index 000000000..ca0b404fb
--- /dev/null
+++ b/community/glee/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 72465 2012-06-14 23:53:43Z ebelanger $
+# Maintainer : SpepS <dreamspepser at yahoo dot it>
+# Contributor: Philipp Brüschweiler <blei42 at gmail dot com >
+
+pkgname=glee
+pkgver=5.4
+pkgrel=4
+pkgdesc="Free cross-platform extension loading library for OpenGL."
+arch=('i686' 'x86_64')
+url="http://elf-stone.com/glee.php"
+license=('BSD')
+depends=('gcc-libs' 'libgl')
+makedepends=('mesa')
+source=("http://elf-stone.com/downloads/GLee/GLee-5.4.0-src.tar.gz")
+md5sums=('0bd03db136dbc075488b6c6e83f326ae')
+
+build() {
+ cd "$srcdir"
+
+ [ "$CARCH" = 'x86_64' ] && export CXXFLAGS="$CXXFLAGS -fPIC"
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir"
+
+ # lib and headers
+ install -Dm755 libGLee.so "$pkgdir/usr/lib/libGLee.so"
+ install -Dm644 GLee.h "$pkgdir/usr/include/GLee.h"
+
+ # license
+ install -Dm644 readme.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ sed -i '9,32!d' "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et: