|
|
# Distributed under the terms of the GNU General Public License v2 | # 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.2 2005/06/23 00:26:41 mr_bones_ Exp $ | # $Header: /var/cvsroot/gentoo-x86/media-libs/glfw/glfw-2.5.0.ebuild,v 1.2 2005/06/23 00:26:41 mr_bones_ Exp $ |
| |
|
inherit eutils |
|
|
DESCRIPTION="The Portable OpenGL FrameWork" | DESCRIPTION="The Portable OpenGL FrameWork" |
HOMEPAGE="http://glfw.sourceforge.net/" | HOMEPAGE="http://glfw.sourceforge.net/" |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" | SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
|
|
-e "s:\"docs/:\"/usr/share/doc/${PF}/pdf/:" \ | -e "s:\"docs/:\"/usr/share/doc/${PF}/pdf/:" \ |
readme.html \ | readme.html \ |
|| die "sed failed" | || die "sed failed" |
|
epatch ${FILESDIR}/glfw-x11-bad_window-hack.patch |
|
epatch ${FILESDIR}/glfw-x11-dynamic.patch |
} | } |
| |
src_compile() { | src_compile() { |
|
|
| |
src_install() { | src_install() { |
dolib.a lib/x11/libglfw.a || die "dolib.a failed" | dolib.a lib/x11/libglfw.a || die "dolib.a failed" |
|
dolib.so lib/x11/libglfw.so || die "dolib.a failed" |
| |
insinto /usr/include/GL | insinto /usr/include/GL |
doins include/GL/glfw.h || die "doins failed" | doins include/GL/glfw.h || die "doins failed" |