summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-07-23 00:12:55 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-07-23 00:12:55 +0000
commit5453f94e0082bcd63960433c25b1d1f05ee278d1 (patch)
tree5c6c6b935531727f351904c073c3ba4473d1d94e /media-libs/mesa-glu
parentremoved older versions of mplayer and avifile (diff)
downloadgentoo-2-5453f94e0082bcd63960433c25b1d1f05ee278d1.tar.gz
gentoo-2-5453f94e0082bcd63960433c25b1d1f05ee278d1.tar.bz2
gentoo-2-5453f94e0082bcd63960433c25b1d1f05ee278d1.zip
repoman'd
Diffstat (limited to 'media-libs/mesa-glu')
-rw-r--r--media-libs/mesa-glu/ChangeLog9
-rw-r--r--media-libs/mesa-glu/files/digest-mesa-glu-3.4.22
-rw-r--r--media-libs/mesa-glu/mesa-glu-3.4.2.ebuild51
-rw-r--r--media-libs/mesa-glu/mesa-glu-3.5.ebuild46
4 files changed, 32 insertions, 76 deletions
diff --git a/media-libs/mesa-glu/ChangeLog b/media-libs/mesa-glu/ChangeLog
index 69922d79729e..f4ed99dcef2a 100644
--- a/media-libs/mesa-glu/ChangeLog
+++ b/media-libs/mesa-glu/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-libs/mesa-glu
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa-glu/ChangeLog,v 1.1 2002/02/01 21:53:30 gbevin Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa-glu/ChangeLog,v 1.2 2002/07/23 00:12:54 seemant Exp $
+
+*mesa-glu-3.5 (22 Jul 2002)
+
+ 22 Jul 2002; Seemant Kulleen <seemant@gentoo.org> mesa-glu-3.5.ebuild :
+
+ this was updated a while ago by someone. I repoman'd and cleaned up
+ ebuild a little bit.
*mesa-glu-3.4.2 (1 Feb 2002)
diff --git a/media-libs/mesa-glu/files/digest-mesa-glu-3.4.2 b/media-libs/mesa-glu/files/digest-mesa-glu-3.4.2
deleted file mode 100644
index bd27ef0d591f..000000000000
--- a/media-libs/mesa-glu/files/digest-mesa-glu-3.4.2
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 5bad47f1f86a87b2a35e8c8c33d97e4a MesaLib-3.4.2.tar.bz2 1380805
-MD5 b3a7b01dae8b1f09f951f9257c242b08 MesaDemos-3.4.2.tar.bz2 854130
diff --git a/media-libs/mesa-glu/mesa-glu-3.4.2.ebuild b/media-libs/mesa-glu/mesa-glu-3.4.2.ebuild
deleted file mode 100644
index 8a30ffe99a28..000000000000
--- a/media-libs/mesa-glu/mesa-glu-3.4.2.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2002 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa-glu/mesa-glu-3.4.2.ebuild,v 1.3 2002/07/11 06:30:39 drobbins Exp $
-
-S=${WORKDIR}/Mesa-${PV}
-DESCRIPTION="OpenGL like graphic library for Linux, this package only contains the glu and glut parts"
-SRC_URI="http://download.sourceforge.net/mesa3d/MesaLib-${PV}.tar.bz2
- http://download.sourceforge.net/mesa3d/MesaDemos-${PV}.tar.bz2"
-HOMEPAGE="http://mesa3d.sourceforge.net/"
-
-DEPEND="virtual/glibc virtual/x11"
-PROVIDE="virtual/glu virtual/glut"
-
-src_compile() {
- local myconf
- if [ "`use mmx`" ]
- then
- myconf="--enable-mmx"
- else
- myconf="--disable-mmx"
- fi
- if [ "`use 3dnow`" ]
- then
- myconf="${myconf} --enable-3dnow"
- else
- myconf="${myconf} --disable-3dnow"
- fi
- if [ "`use sse`" ]
- then
- myconf="${myconf} --enable-sse"
- else
- myconf="${myconf} --disable-sse"
- fi
- myconf="${myconf} --with-x --without-glut --disable-ggi-fbdev --without-ggi"
- ./configure --prefix=/usr --sysconfdir=/etc/mesa --host=${CHOST} $myconf || die
- emake || die
-}
-
-src_install() {
- cd ${S}
- make DESTDIR=${D} install || die
- cd ${D}/usr/lib
- rm -f libGL.*
- rm -f ../include/GL/gl.h
- rm -f ../include/GL/glx.h
- rm -f ../include/GL/osmesa.h
- ln -s libGLU.so.1.1.* libMesaGLU.so.3
- cd ${S}
- dodoc docs/*
-}
-
diff --git a/media-libs/mesa-glu/mesa-glu-3.5.ebuild b/media-libs/mesa-glu/mesa-glu-3.5.ebuild
index 9f59e6a154a0..08933abd470c 100644
--- a/media-libs/mesa-glu/mesa-glu-3.5.ebuild
+++ b/media-libs/mesa-glu/mesa-glu-3.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa-glu/mesa-glu-3.5.ebuild,v 1.5 2002/07/11 06:30:39 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa-glu/mesa-glu-3.5.ebuild,v 1.6 2002/07/23 00:12:54 seemant Exp $
S=${WORKDIR}/Mesa-${PV}
DESCRIPTION="OpenGL like graphic library for Linux, this package only contains the glu and glut parts"
@@ -8,32 +8,34 @@ SRC_URI="http://download.sourceforge.net/mesa3d/MesaLib-${PV}.tar.bz2
http://download.sourceforge.net/mesa3d/MesaDemos-${PV}.tar.bz2"
HOMEPAGE="http://mesa3d.sourceforge.net/"
-DEPEND="virtual/glibc virtual/x11"
+SLOT="3.5"
+LICENSE="LGPL-2"
+KEYWORDS="x86"
+
+DEPEND="virtual/x11"
PROVIDE="virtual/glu virtual/glut"
src_compile() {
local myconf
- if [ "`use mmx`" ]
- then
- myconf="--enable-mmx"
- else
- myconf="--disable-mmx"
- fi
- if [ "`use 3dnow`" ]
- then
- myconf="${myconf} --enable-3dnow"
- else
- myconf="${myconf} --disable-3dnow"
- fi
- if [ "`use sse`" ]
- then
- myconf="${myconf} --enable-sse"
- else
- myconf="${myconf} --disable-sse"
- fi
- #--without-glut means that no glut is available on the system, so mesa should build its own
+
+ use mmx \
+ && myconf="--enable-mmx" \
+ || myconf="--disable-mmx"
+
+ use 3dnow \
+ && myconf="${myconf} --enable-3dnow" \
+ || myconf="${myconf} --disable-3dnow"
+
+ use sse \
+ && myconf="${myconf} --enable-sse" \
+ || myconf="${myconf} --disable-sse"
+ #--without-glut means that no glut is available on the system,
+ # so mesa should build its own
myconf="${myconf} --with-x --without-glut --disable-ggi-fbdev --without-ggi"
- ./configure --prefix=/usr --sysconfdir=/etc/mesa --host=${CHOST} $myconf || die
+ econf \
+ --sysconfdir=/etc/mesa \
+ ${myconf} || die
+
emake || die
}