summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-03-09 04:32:56 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-03-09 04:32:56 +0000
commit32e476569bf0192ea2cabbf9cbcbf5450ab2c5b7 (patch)
tree38d03efbe106ffce03222a83a05988cf245f16e9 /media-libs/glfw
parentKeyworded x86 ppc (diff)
downloadhistorical-32e476569bf0192ea2cabbf9cbcbf5450ab2c5b7.tar.gz
historical-32e476569bf0192ea2cabbf9cbcbf5450ab2c5b7.tar.bz2
historical-32e476569bf0192ea2cabbf9cbcbf5450ab2c5b7.zip
initial commit - ebuild submitted by Scott 'me22' McMurray via bug #66532
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'media-libs/glfw')
-rw-r--r--media-libs/glfw/ChangeLog10
-rw-r--r--media-libs/glfw/Manifest4
-rw-r--r--media-libs/glfw/files/digest-glfw-2.4.21
-rw-r--r--media-libs/glfw/glfw-2.4.2.ebuild53
-rw-r--r--media-libs/glfw/metadata.xml5
5 files changed, 73 insertions, 0 deletions
diff --git a/media-libs/glfw/ChangeLog b/media-libs/glfw/ChangeLog
new file mode 100644
index 000000000000..41a07ced8a59
--- /dev/null
+++ b/media-libs/glfw/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-libs/glfw
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/glfw/ChangeLog,v 1.1 2005/03/09 04:32:56 mr_bones_ Exp $
+
+*glfw-2.4.2 (08 Mar 2005)
+
+ 08 Mar 2005; Michael Sterrett <mr_bones_@gentoo.org> +metadata.xml,
+ +glfw-2.4.2.ebuild:
+ initial commit - ebuild submitted by Scott 'me22' McMurray via bug #66532
+
diff --git a/media-libs/glfw/Manifest b/media-libs/glfw/Manifest
new file mode 100644
index 000000000000..9dadfb818dcc
--- /dev/null
+++ b/media-libs/glfw/Manifest
@@ -0,0 +1,4 @@
+MD5 8622f72f42f083e848e7a2884b7048f9 glfw-2.4.2.ebuild 1247
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 a910edd458952d88c3e5a3c7cafb69f9 ChangeLog 402
+MD5 1fad19cb7b46e3dbec7240bd39d23df7 files/digest-glfw-2.4.2 62
diff --git a/media-libs/glfw/files/digest-glfw-2.4.2 b/media-libs/glfw/files/digest-glfw-2.4.2
new file mode 100644
index 000000000000..88d6e08cf7e6
--- /dev/null
+++ b/media-libs/glfw/files/digest-glfw-2.4.2
@@ -0,0 +1 @@
+MD5 1902cb8d56b78cd2b8c6df690ea76bcd glfw-2.4.2.tar.gz 620008
diff --git a/media-libs/glfw/glfw-2.4.2.ebuild b/media-libs/glfw/glfw-2.4.2.ebuild
new file mode 100644
index 000000000000..3aef2cbc763e
--- /dev/null
+++ b/media-libs/glfw/glfw-2.4.2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/glfw/glfw-2.4.2.ebuild,v 1.1 2005/03/09 04:32:56 mr_bones_ Exp $
+
+DESCRIPTION="The Portable OpenGL FrameWork"
+HOMEPAGE="http://glfw.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="examples"
+
+DEPEND="virtual/x11
+ virtual/opengl"
+
+src_compile() {
+ emake x11 || die "emake failed"
+}
+
+src_install() {
+ dolib.a lib/x11/libglfw.a || die "dolib.a failed"
+
+ insinto /usr/include/GL
+ doins include/GL/glfw.h || die "doins failed"
+ dohtml readme.html
+ insinto /usr/share/doc/${PF}/pdf
+ doins docs/*.pdf
+
+ if use examples; then
+ local f
+ local MY_EXAMPLES="boing gears keytest listmodes mipmaps
+ mtbench mthello particles pong3d splitview
+ triangle wave"
+ local MY_PICS="mipmaps.tga pong3d_field.tga pong3d_instr.tga
+ pong3d_menu.tga pong3d_title.tga
+ pong3d_winner1.tga pong3d_winner2.tga"
+
+ insinto /usr/share/doc/${PF}/examples
+
+ for f in $MY_EXAMPLES; do
+ doins examples/${f}.c
+ done
+ for f in $MY_PICS; do
+ doins examples/${f}
+ done
+
+ insopts -m0755
+ for f in $MY_EXAMPLES; do
+ doins examples/${f}
+ done
+ fi
+}
diff --git a/media-libs/glfw/metadata.xml b/media-libs/glfw/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/media-libs/glfw/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>