diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2005-03-09 04:32:56 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2005-03-09 04:32:56 +0000 |
commit | d2dc764f22e08e363f908dae0c1458579190e397 (patch) | |
tree | f9ce6ef1ade50b0b6e24cd2e2c8d4d4f9ed2faa4 /media-libs/glfw | |
parent | Keyworded x86 ppc (Manifest recommit) (diff) | |
download | gentoo-2-d2dc764f22e08e363f908dae0c1458579190e397.tar.gz gentoo-2-d2dc764f22e08e363f908dae0c1458579190e397.tar.bz2 gentoo-2-d2dc764f22e08e363f908dae0c1458579190e397.zip |
initial commit - ebuild submitted by Scott 'me22' McMurray via bug #66532
(Portage version: 2.0.51.19)
Diffstat (limited to 'media-libs/glfw')
-rw-r--r-- | media-libs/glfw/ChangeLog | 10 | ||||
-rw-r--r-- | media-libs/glfw/Manifest | 2 | ||||
-rw-r--r-- | media-libs/glfw/files/digest-glfw-2.4.2 | 1 | ||||
-rw-r--r-- | media-libs/glfw/glfw-2.4.2.ebuild | 53 | ||||
-rw-r--r-- | media-libs/glfw/metadata.xml | 5 |
5 files changed, 71 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..da5c716fbdd4 --- /dev/null +++ b/media-libs/glfw/Manifest @@ -0,0 +1,2 @@ +MD5 15758f87f9dba2136787ff4bdfc5ff6f glfw-2.4.2.ebuild 624 +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> |