From b3f972b6dfb7ecae265a0355f1cc3d096ded594c Mon Sep 17 00:00:00 2001 From: Samuli Suominen Date: Wed, 21 Apr 2010 09:09:35 +0000 Subject: Version bump wrt #316479 by Lev Panov. (Portage version: 2.2_rc67/cvs/Linux x86_64) --- media-libs/glew/ChangeLog | 9 ++++++-- media-libs/glew/glew-1.5.3.ebuild | 44 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 2 deletions(-) create mode 100644 media-libs/glew/glew-1.5.3.ebuild (limited to 'media-libs/glew') diff --git a/media-libs/glew/ChangeLog b/media-libs/glew/ChangeLog index 6de30ae85db0..faf30ec16f5a 100644 --- a/media-libs/glew/ChangeLog +++ b/media-libs/glew/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/glew -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/glew/ChangeLog,v 1.51 2009/12/15 18:12:32 armin76 Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/glew/ChangeLog,v 1.52 2010/04/21 09:09:35 ssuominen Exp $ + +*glew-1.5.3 (21 Apr 2010) + + 21 Apr 2010; Samuli Suominen +glew-1.5.3.ebuild: + Version bump wrt #316479 by Lev Panov. 15 Dec 2009; Raúl Porcel glew-1.5.1.ebuild: sh stable diff --git a/media-libs/glew/glew-1.5.3.ebuild b/media-libs/glew/glew-1.5.3.ebuild new file mode 100644 index 000000000000..9b05ae37bfed --- /dev/null +++ b/media-libs/glew/glew-1.5.3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/glew/glew-1.5.3.ebuild,v 1.1 2010/04/21 09:09:35 ssuominen Exp $ + +EAPI=2 +inherit multilib toolchain-funcs + +DESCRIPTION="The OpenGL Extension Wrangler Library" +HOMEPAGE="http://glew.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" + +LICENSE="BSD MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="x11-libs/libXmu + x11-libs/libXi + virtual/glu + virtual/opengl + x11-libs/libXext + x11-libs/libX11" + +src_prepare() { + sed -i \ + -e '/INSTALL/s:-s::' \ + -e '/$(CC) $(CFLAGS) -o/s:$(CFLAGS):$(CFLAGS) $(LDFLAGS):' \ + Makefile || die +} + +src_compile(){ + emake AR="$(tc-getAR)" STRIP=true CC="$(tc-getCC)" \ + LD="$(tc-getCC) ${LDFLAGS}" POPT="${CFLAGS}" M_ARCH="" || die +} + +src_install() { + dodir /usr/$(get_libdir)/pkgconfig + + emake STRIP=true GLEW_DEST="${D}/usr" LIBDIR="${D}/usr/$(get_libdir)" \ + M_ARCH="" install || die + + dodoc doc/*.txt README.txt TODO.txt || die + dohtml doc/*.{css,html,jpg,png} || die +} -- cgit v1.2.3-65-gdbad