diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-02-22 22:08:57 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-02-22 22:08:57 +0000 |
commit | a33b0573265f7b8bbbb720b36eb5cc1ca9f6b44f (patch) | |
tree | ba577e2ea65b5b61c7bda62868114b6e2d881ff2 /media-libs/glfw | |
parent | Fix bug #259210. (diff) | |
download | gentoo-2-a33b0573265f7b8bbbb720b36eb5cc1ca9f6b44f.tar.gz gentoo-2-a33b0573265f7b8bbbb720b36eb5cc1ca9f6b44f.tar.bz2 gentoo-2-a33b0573265f7b8bbbb720b36eb5cc1ca9f6b44f.zip |
EAPI=2; call get_libdir; install pkgconfig file; patch submitted by Nathan Brink via bug #259780
(Portage version: 2.1.6.7/cvs/Linux i686)
Diffstat (limited to 'media-libs/glfw')
-rw-r--r-- | media-libs/glfw/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/glfw/glfw-2.6.ebuild | 16 |
2 files changed, 15 insertions, 9 deletions
diff --git a/media-libs/glfw/ChangeLog b/media-libs/glfw/ChangeLog index 73765f11614e..66edc05b544d 100644 --- a/media-libs/glfw/ChangeLog +++ b/media-libs/glfw/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/glfw -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/glfw/ChangeLog,v 1.8 2007/11/11 07:34:19 tupone Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/glfw/ChangeLog,v 1.9 2009/02/22 22:08:57 mr_bones_ Exp $ + + 22 Feb 2009; Michael Sterrett <mr_bones_@gentoo.org> glfw-2.6.ebuild: + EAPI=2; call get_libdir; install pkgconfig file; patch submitted by Nathan + Brink via bug #259780 *glfw-2.6 (11 Nov 2007) diff --git a/media-libs/glfw/glfw-2.6.ebuild b/media-libs/glfw/glfw-2.6.ebuild index c2a7b323a2a4..e6bf9ad0a65f 100644 --- a/media-libs/glfw/glfw-2.6.ebuild +++ b/media-libs/glfw/glfw-2.6.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/glfw/glfw-2.6.ebuild,v 1.1 2007/11/11 07:34:19 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/glfw/glfw-2.6.ebuild,v 1.2 2009/02/22 22:08:57 mr_bones_ Exp $ -inherit eutils +EAPI=2 +inherit eutils toolchain-funcs DESCRIPTION="The Portable OpenGL FrameWork" HOMEPAGE="http://glfw.sourceforge.net/" @@ -18,9 +19,7 @@ DEPEND="x11-libs/libXrandr S=${WORKDIR}/${PN} -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { sed -i \ -e "s:\"docs/:\"/usr/share/doc/${PF}/pdf/:" \ readme.html \ @@ -30,13 +29,16 @@ src_unpack() { src_compile() { emake x11 || die "emake failed" + emake -C lib/x11 PREFIX=/usr -f Makefile.x11 libglfw.pc || die "emake libglfw.pc failed" } src_install() { dolib.a lib/x11/libglfw.a || die "dolib.a failed" dolib.so lib/x11/libglfw.so.2.6 || die "dolib.so failed" - dosym libglfw.so.2.6 /usr/lib/libglfw.so + dosym libglfw.so.2.6 /usr/$(get_libdir)/libglfw.so + insinto /usr/$(get_libdir)/pkgconfig + doins lib/x11/libglfw.pc || die "doins failed" insinto /usr/include/GL doins include/GL/glfw.h || die "doins failed" dohtml -r readme.html |