diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2005-05-16 04:13:57 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2005-05-16 04:13:57 +0000 |
commit | bf5b13fb644f60791c33cdf19263f94780eace5f (patch) | |
tree | fc9a9c7976afaa85e477a9aebe0776a2c0a14d3d /media-libs/glfw | |
parent | use toolchain-funcs.eclass instead of gcc.eclass; bug #92745. (diff) | |
download | historical-bf5b13fb644f60791c33cdf19263f94780eace5f.tar.gz historical-bf5b13fb644f60791c33cdf19263f94780eace5f.tar.bz2 historical-bf5b13fb644f60791c33cdf19263f94780eace5f.zip |
version bump (bug #90098)
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'media-libs/glfw')
-rw-r--r-- | media-libs/glfw/ChangeLog | 7 | ||||
-rw-r--r-- | media-libs/glfw/files/digest-glfw-2.5.0 | 1 | ||||
-rw-r--r-- | media-libs/glfw/glfw-2.5.0.ebuild | 67 |
3 files changed, 74 insertions, 1 deletions
diff --git a/media-libs/glfw/ChangeLog b/media-libs/glfw/ChangeLog index 41a07ced8a59..9c2f7c61220d 100644 --- a/media-libs/glfw/ChangeLog +++ b/media-libs/glfw/ChangeLog @@ -1,6 +1,11 @@ # 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 $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/glfw/ChangeLog,v 1.2 2005/05/16 04:13:57 mr_bones_ Exp $ + +*glfw-2.5.0 (16 May 2005) + + 16 May 2005; Michael Sterrett <mr_bones_@gentoo.org> +glfw-2.5.0.ebuild: + version bump (bug #90098) *glfw-2.4.2 (08 Mar 2005) diff --git a/media-libs/glfw/files/digest-glfw-2.5.0 b/media-libs/glfw/files/digest-glfw-2.5.0 new file mode 100644 index 000000000000..5d03109bbb14 --- /dev/null +++ b/media-libs/glfw/files/digest-glfw-2.5.0 @@ -0,0 +1 @@ +MD5 c6dffefbfbe4415c915851b09e76edd9 glfw-2.5.0.tar.bz2 645993 diff --git a/media-libs/glfw/glfw-2.5.0.ebuild b/media-libs/glfw/glfw-2.5.0.ebuild new file mode 100644 index 000000000000..552cde0a24ac --- /dev/null +++ b/media-libs/glfw/glfw-2.5.0.ebuild @@ -0,0 +1,67 @@ +# 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.5.0.ebuild,v 1.1 2005/05/16 04:13:57 mr_bones_ Exp $ + +DESCRIPTION="The Portable OpenGL FrameWork" +HOMEPAGE="http://glfw.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~x86" +IUSE="examples" + +DEPEND="virtual/x11 + virtual/opengl" + +S=${WORKDIR}/${P/.0/} + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i \ + -e "s:\"docs/:\"/usr/share/doc/${PF}/pdf/:" \ + readme.html \ + || die "sed failed" +} + +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 -r readme.html + insinto /usr/share/doc/${PF}/html/images + doins images/* + 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 + + doins examples/Makefile.x11 + 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 +} |