# ChangeLog for media-libs/glew
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/glew/ChangeLog,v 1.17 2006/08/25 03:44:42 joshuabaergen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/glew/ChangeLog,v 1.18 2006/12/17 16:07:13 joshuabaergen Exp $
+
+*glew-1.3.5 (17 Dec 2006)
+
+ 17 Dec 2006; Joshua Baergen <joshuabaergen@gentoo.org> +glew-1.3.5.ebuild:
+ Version bump. Brings OpenGL 2.1 and nVidia G80 extensions.
*glew-1.3.4-r2 (25 Aug 2006)
SHA256 42783f3ee20277700bb3048358659ecfd2318d898c73ee61b50d413702ccb5da files/glew-1.3.4-makefile.patch 490
DIST glew-1.3.3-src.tgz 332493
DIST glew-1.3.4-src.tgz 362854 RMD160 1f845fddb61c5a679a105aeae9ff21037d9fab6d SHA1 d70fb9fc07b99ec87a192818f73fc31b42c0811b SHA256 0f19a7235df8a3ff7c5f26b6a8dac12255dae8d04229f204eda96a6605948447
+DIST glew-1.3.5-src.tgz 391062 RMD160 770deaad4fdc1f51754b290ebfe28c2e970fcbb6 SHA1 d556e71a48e56fcde2652d749cfad90b1a0b4a83 SHA256 62b6ff954acec851ae9c54298311264951a7255f7f27738d4ccd8b569a81668a
EBUILD glew-1.3.3.ebuild 1006 RMD160 7e4e5294c474a841686f7ea3c283897629efd463 SHA1 090bc36947ef0d3e58d1c0e2c714267b4b610ac3 SHA256 8c38ccf2099b30412dadc113698d61d985ae28ce85681700d78cf86501ae657d
MD5 54f3201074b35170bb9315d1fc21ca8e glew-1.3.3.ebuild 1006
RMD160 7e4e5294c474a841686f7ea3c283897629efd463 glew-1.3.3.ebuild 1006
MD5 380146b565d4355c2e2a9814265af86e glew-1.3.4.ebuild 971
RMD160 34d02dcabfba6af58fe23c95e1256af3195ef594 glew-1.3.4.ebuild 971
SHA256 c9fd86f97b46254cf8a325f01e9987ee872f2062403a33a563e5979c52d0939f glew-1.3.4.ebuild 971
-MISC ChangeLog 2526 RMD160 63dcb5496cd427b3b2f3871ef3ce22e611466887 SHA1 e5c61b7df3a8c2e9069798f7173cf412b65cd2e3 SHA256 f42d875e1cab059c0f69838f2d4755c4d3b2ed767acdbf6b2f5f5e87df4d16fe
-MD5 b717cf3bacccf19fea500f8e55df6a03 ChangeLog 2526
-RMD160 63dcb5496cd427b3b2f3871ef3ce22e611466887 ChangeLog 2526
-SHA256 f42d875e1cab059c0f69838f2d4755c4d3b2ed767acdbf6b2f5f5e87df4d16fe ChangeLog 2526
+EBUILD glew-1.3.5.ebuild 1186 RMD160 97e0ab47a91c96a1f63817004210336fcee705e5 SHA1 605911ac2162f3b4463c4a377174432208fdeefa SHA256 d7de89d5868ea869a9b5e12b720da519c562b578d54dcb66495bf87bf8b28e69
+MD5 7cab743a3180f1662dfe40dc31fef840 glew-1.3.5.ebuild 1186
+RMD160 97e0ab47a91c96a1f63817004210336fcee705e5 glew-1.3.5.ebuild 1186
+SHA256 d7de89d5868ea869a9b5e12b720da519c562b578d54dcb66495bf87bf8b28e69 glew-1.3.5.ebuild 1186
+MISC ChangeLog 2693 RMD160 ee5c66571ad0697a72dd0623ec8e788ee9726e29 SHA1 07e672438efef0db10df91217543fee39d96c667 SHA256 cdd2a3e9547e13346f814f87cc9402d71714af52b55647092ac16ac6a0d03962
+MD5 20b02dcfbd7a0ce91796226e4c30481a ChangeLog 2693
+RMD160 ee5c66571ad0697a72dd0623ec8e788ee9726e29 ChangeLog 2693
+SHA256 cdd2a3e9547e13346f814f87cc9402d71714af52b55647092ac16ac6a0d03962 ChangeLog 2693
MISC metadata.xml 225 RMD160 f4403c0b40fd4dbce74e41493761ccc42854e483 SHA1 e1646bce623e18ab17bd7d5fc0dd816df1f98456 SHA256 e990868f5e1a98c813995e2f202363a2e0b8d8226b7de7b3d64061d86ea3451b
MD5 1114056da482209c3a0672f9b2c163a4 metadata.xml 225
RMD160 f4403c0b40fd4dbce74e41493761ccc42854e483 metadata.xml 225
MD5 193262246b27ce474b539eed44729648 files/digest-glew-1.3.4-r2 235
RMD160 31da0de60d23a16b32a942de7f2fed54cf62f064 files/digest-glew-1.3.4-r2 235
SHA256 2b6db49c89fdf9afd095deb41a25c31ebcd81e6b64ab18cdac263b62fee184cc files/digest-glew-1.3.4-r2 235
+MD5 8fca68555303593669342f56b5200c63 files/digest-glew-1.3.5 235
+RMD160 802f58cb21cc29c751236f9cc6d5784358a3fa09 files/digest-glew-1.3.5 235
+SHA256 f631b1d6ca0a10977eca415de59ee0bf1231426ad9b940a16a1809175caa67e2 files/digest-glew-1.3.5 235
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/glew/glew-1.3.5.ebuild,v 1.1 2006/12/17 16:07:13 joshuabaergen 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"
+
+IUSE=""
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
+
+RDEPEND="virtual/opengl
+ virtual/glu"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # Portage will strip binaries if needed
+ # If we strip here, static library will have no symbols
+ sed -i \
+ -e "s/-s\b//g" \
+ Makefile || die "sed failed"
+}
+
+src_compile(){
+ # Add system's CFLAGS
+ sed -i "s/OPT = \$(POPT)/OPT = ${CFLAGS}/" Makefile
+ emake CC=$(tc-getCC) || die "emake failed"
+}
+
+src_install() {
+ emake GLEW_DEST="${D}/usr" LIBDIR="${D}/usr/$(get_libdir)" install || die "Install failed!"
+
+ dodoc README.txt ChangeLog
+ cd "${S}/doc"
+ dohtml *.{html,css,png,jpg} || die "Documentation install failed"
+ dodoc *.txt || die "Documentation install failed"
+}