summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Baergen <joshuabaergen@gentoo.org>2005-07-27 04:46:42 +0000
committerJoshua Baergen <joshuabaergen@gentoo.org>2005-07-27 04:46:42 +0000
commit70725d7c671053ea382c75914e47f37eacfb1a17 (patch)
treea08dfdfeca44d6c09249d2410bb53b59afd6c2ae /media-libs/glew
parentAdded GLX license from SGI's site for use with media-libs/glew. (diff)
downloadhistorical-70725d7c671053ea382c75914e47f37eacfb1a17.tar.gz
historical-70725d7c671053ea382c75914e47f37eacfb1a17.tar.bz2
historical-70725d7c671053ea382c75914e47f37eacfb1a17.zip
Initial import of glew, and my first package commit!
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'media-libs/glew')
-rw-r--r--media-libs/glew/ChangeLog11
-rw-r--r--media-libs/glew/Manifest4
-rw-r--r--media-libs/glew/files/digest-glew-1.3.31
-rw-r--r--media-libs/glew/glew-1.3.3.ebuild35
-rw-r--r--media-libs/glew/metadata.xml8
5 files changed, 59 insertions, 0 deletions
diff --git a/media-libs/glew/ChangeLog b/media-libs/glew/ChangeLog
new file mode 100644
index 000000000000..2a7a18594366
--- /dev/null
+++ b/media-libs/glew/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-libs/glew
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/glew/ChangeLog,v 1.1 2005/07/27 04:46:42 joshuabaergen Exp $
+
+*glew-1.3.3 (27 Jul 2005)
+
+ 27 Jul 2005; Joshua Baergen <joshuabaergen@gentoo.org> +glew-1.3.3.ebuild:
+ Initial import. Thanks to Derek Young, Vinicius Dias dos Santos, Philip
+ Allison, Wojciech Milkowski, Robert Schuster, Charles Moad and Lawrence Lee
+ for their ebuilds and testing.
+
diff --git a/media-libs/glew/Manifest b/media-libs/glew/Manifest
new file mode 100644
index 000000000000..3f75cc95e945
--- /dev/null
+++ b/media-libs/glew/Manifest
@@ -0,0 +1,4 @@
+MD5 1114056da482209c3a0672f9b2c163a4 metadata.xml 225
+MD5 b3f6308029c997dd2e6188ec8a7fade0 glew-1.3.3.ebuild 901
+MD5 54156cc2033e31e2251cf13843488543 ChangeLog 500
+MD5 d1b3573a4d45551973bf2131a3537a41 files/digest-glew-1.3.3 63
diff --git a/media-libs/glew/files/digest-glew-1.3.3 b/media-libs/glew/files/digest-glew-1.3.3
new file mode 100644
index 000000000000..9db43d888c7a
--- /dev/null
+++ b/media-libs/glew/files/digest-glew-1.3.3
@@ -0,0 +1 @@
+MD5 26591c71cc62ef3ac798807ccc03d691 glew-1.3.3-src.tgz 332493
diff --git a/media-libs/glew/glew-1.3.3.ebuild b/media-libs/glew/glew-1.3.3.ebuild
new file mode 100644
index 000000000000..870c378800eb
--- /dev/null
+++ b/media-libs/glew/glew-1.3.3.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/glew/glew-1.3.3.ebuild,v 1.1 2005/07/27 04:46:42 joshuabaergen Exp $
+
+DESCRIPTION="The OpenGL Extension Wrangler Library"
+HOMEPAGE="http://glew.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.tgz"
+
+LICENSE="BSD GLX SGI-B GPL-2"
+
+SLOT="0"
+KEYWORDS="~x86"
+
+RDEPEND="virtual/opengl
+ virtual/x11
+ virtual/glu"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${PN}
+
+src_compile(){
+ # Add system's CFLAGS and compile
+ cd ${S}
+ sed -i "s/OPT = \$(POPT)/OPT = ${CFLAGS}/" Makefile
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ make GLEW_DEST="${D}/usr" install || die "Install failed!"
+
+ dodoc README.txt ChangeLog
+ cd ${S}/doc
+ dohtml *.{html,css,png,jpg} || die "Documentation install failed"
+ dodoc *.txt || die "Documentation install failed"
+}
diff --git a/media-libs/glew/metadata.xml b/media-libs/glew/metadata.xml
new file mode 100644
index 000000000000..2a729a2d57c1
--- /dev/null
+++ b/media-libs/glew/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>x11</herd>
+<maintainer>
+ <email>joshuabaergen@gentoo.org</email>
+</maintainer>
+</pkgmetadata>