diff options
Diffstat (limited to 'media-libs/glew')
-rw-r--r-- | media-libs/glew/ChangeLog | 7 | ||||
-rw-r--r-- | media-libs/glew/files/digest-glew-1.4.0 | 3 | ||||
-rw-r--r-- | media-libs/glew/glew-1.4.0.ebuild | 40 |
3 files changed, 49 insertions, 1 deletions
diff --git a/media-libs/glew/ChangeLog b/media-libs/glew/ChangeLog index 927af537bb1c..7ccc088b836f 100644 --- a/media-libs/glew/ChangeLog +++ b/media-libs/glew/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/glew # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/glew/ChangeLog,v 1.28 2007/10/24 00:16:05 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/glew/ChangeLog,v 1.29 2007/11/04 16:57:50 drac Exp $ + +*glew-1.4.0 (04 Nov 2007) + + 04 Nov 2007; Samuli Suominen <drac@gentoo.org> +glew-1.4.0.ebuild: + Version bump. 24 Oct 2007; Jeroen Roovers <jer@gentoo.org> glew-1.3.5.ebuild: Marked ~hppa (bug #196836). diff --git a/media-libs/glew/files/digest-glew-1.4.0 b/media-libs/glew/files/digest-glew-1.4.0 new file mode 100644 index 000000000000..25b4fb6c49d1 --- /dev/null +++ b/media-libs/glew/files/digest-glew-1.4.0 @@ -0,0 +1,3 @@ +MD5 4c3f0c919103e00b149695a06285b398 glew-1.4.0-src.tgz 360075 +RMD160 9f45ab693fd29a6bfdd45bc8c514e13cb70c7894 glew-1.4.0-src.tgz 360075 +SHA256 7ea84a2d10357f39eb7ccb35fe59af19fa9c8aed18b84ea41a743d32c893ed12 glew-1.4.0-src.tgz 360075 diff --git a/media-libs/glew/glew-1.4.0.ebuild b/media-libs/glew/glew-1.4.0.ebuild new file mode 100644 index 000000000000..170c7f59cb3f --- /dev/null +++ b/media-libs/glew/glew-1.4.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/glew/glew-1.4.0.ebuild,v 1.1 2007/11/04 16:57:50 drac Exp $ + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="The OpenGL Extension Wrangler Library" +HOMEPAGE="http://glew.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}-src.tgz" + +LICENSE="BSD GLX SGI-B GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND="virtual/opengl + virtual/glu" +DEPEND="${RDEPEND} + sys-apps/sed" + +S="${WORKDIR}"/${PN} + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i -e 's:-s\b::g' Makefile +} + +src_compile(){ + emake LD="$(tc-getCC) ${LDFLAGS}" CC="$(tc-getCC)" \ + POPT="${CFLAGS}" M_ARCH="" || die "emake failed." +} + +src_install() { + emake GLEW_DEST="${D}/usr" LIBDIR="${D}/usr/$(get_libdir)" \ + M_ARCH="" install || die "emake install failed." + + dodoc README.txt + dohtml doc/*.{html,css,png,jpg} +} |