diff options
-rw-r--r-- | media-libs/glew/ChangeLog | 9 | ||||
-rw-r--r-- | media-libs/glew/Manifest | 4 | ||||
-rw-r--r-- | media-libs/glew/glew-1.5.3.ebuild | 44 |
3 files changed, 54 insertions, 3 deletions
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 <ssuominen@gentoo.org> +glew-1.5.3.ebuild: + Version bump wrt #316479 by Lev Panov. 15 Dec 2009; Raúl Porcel <armin76@gentoo.org> glew-1.5.1.ebuild: sh stable diff --git a/media-libs/glew/Manifest b/media-libs/glew/Manifest index 30d5468e726c..f9527a6b40a4 100644 --- a/media-libs/glew/Manifest +++ b/media-libs/glew/Manifest @@ -1,4 +1,6 @@ DIST glew-1.5.1-src.tgz 394566 RMD160 920fdff559976492a2e6acf93d3b02e8286f6b7b SHA1 a94113169d46487ccda1bb2fde68fa1803bdf009 SHA256 89e63d085cb563c32a191e3cd4907a192484f10438a6679f1349456db4b9c10a +DIST glew-1.5.3.tgz 435973 RMD160 b0f89d7c0845fc40225746c061bba8793bafa216 SHA1 02cc7c158f5dd13d19647300b86064693da05b59 SHA256 da3ecc0767e20a3ffb60169f4d4c98a4a35db0550e0e53992b0ab443adab5261 EBUILD glew-1.5.1.ebuild 1156 RMD160 e51de3765d3887aec087e4bc76a716a9d2b26855 SHA1 99dbe3ff3064ff4cc0b34995f61d3969a0dcb74d SHA256 003233dae3b8c68049f3fcbd8c0bc0d8b4447dd300c264df3546ce33a4d8a8a8 -MISC ChangeLog 6273 RMD160 f296aae7ca15627bbf385d52be69e7240aa98eaa SHA1 02b383e2afd9e773b526be7c1a165e97bf05bc55 SHA256 b7f5ec94d66a4a18ef4c9866587bb133ee80b9ad92571ea18a3cf233285915b1 +EBUILD glew-1.5.3.ebuild 1138 RMD160 cc483776e0f8d12e8374281cf3e9ce70beb66aa0 SHA1 78d8b78659f36d32fb96cd7ff43afb00cb550e35 SHA256 f8533ff707d0de4613395449b37ea0f8d3a28c61884eb96e7795d10de69f1ba0 +MISC ChangeLog 6418 RMD160 869dddfe1a7d1290a7e123ebbd6cf318a8b4bab0 SHA1 54d4dc9250638653ec98c3238a4146381870fc4a SHA256 78686b0c49b3e3339fafa10a238623b27840a704cdbba7c2d006411574cc510e MISC metadata.xml 236 RMD160 92f49f8275e75caf57b88a3172d5204eaa4e33ae SHA1 dd1a8550a514e55ab0ed6190ab4794bb090994f8 SHA256 56075995f83836ae824c7cb01931b98d6745f6d5a7764299c8262e801486b829 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 +} |