summaryrefslogtreecommitdiff
path: root/testing/freeglut/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/freeglut/PKGBUILD')
-rw-r--r--testing/freeglut/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/freeglut/PKGBUILD b/testing/freeglut/PKGBUILD
new file mode 100644
index 000000000..b817a6a43
--- /dev/null
+++ b/testing/freeglut/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 147022 2012-01-20 20:50:51Z heftig $
+# Maintainer: Eric Belanger <eric@archlinux.org>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+
+pkgname=freeglut
+pkgver=2.8.0
+pkgrel=1
+pkgdesc="Provides functionality for small OpenGL programs"
+arch=('i686' 'x86_64')
+url="http://freeglut.sourceforge.net/"
+license=('MIT')
+depends=('libxxf86vm' 'mesa' 'libxi')
+replaces=('glut')
+provides=('glut')
+conflicts=('glut')
+options=('!libtool')
+source=(http://downloads.sourceforge.net/freeglut/${pkgname}-${pkgver}.tar.gz)
+md5sums=('5db8651af306bc403fbfd36934a20e1d')
+sha1sums=('4debbe559c6c9841ce1abaddc9d461d17c6083b1')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --disable-static
+ make all
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}