summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-base/opengl-update/opengl-update-2.0_pre3.ebuild')
-rw-r--r--x11-base/opengl-update/opengl-update-2.0_pre3.ebuild61
1 files changed, 0 insertions, 61 deletions
diff --git a/x11-base/opengl-update/opengl-update-2.0_pre3.ebuild b/x11-base/opengl-update/opengl-update-2.0_pre3.ebuild
deleted file mode 100644
index b5e182fc014b..000000000000
--- a/x11-base/opengl-update/opengl-update-2.0_pre3.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/opengl-update/opengl-update-2.0_pre3.ebuild,v 1.1 2004/11/30 02:10:00 cyfred Exp $
-
-DESCRIPTION="Utility to change the OpenGL interface being used"
-HOMEPAGE="http://www.gentoo.org/"
-GLEXT="20040830"
-SRC_URI="http://dev.gentoo.org/~cyfred/distfiles/glext.h-${GLEXT}.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-IUSE=""
-
-DEPEND="virtual/libc
- app-arch/bzip2"
-
-pkg_setup() {
- # xfree has glext.h somewhere out of place so lets make the user move it
- if ( [ ! -h /usr/X11R6/include/GL/glext.h ] && [ -a /usr/X11R6/include/GL/glext.h ] )
- then
- # Just make it simpler on the user by giving verbose instructions
- if [ -d /usr/lib/opengl/xfree ]
- then
- GL_IM="xfree"
- else
- GL_IM="xorg-x11"
- fi
-
- echo
- ewarn "Due to inconsistencies in xorg-x11 vs xfree handling of glext.h a userspace"
- ewarn "is necessary for you to use opengl-update-1.8; Please do the following"
- echo
- ewarn "mv /usr/X11R6/include/GL/glext.h /usr/lib/opengl/${GL_IM}/include"
- echo
- ewarn "You may then remerge opengl-update-1.8.1 successfully"
- echo
-
- die "Userspace problem needs fixing"
- fi
-}
-
-src_unpack() {
- bzcat ${DISTDIR}/glext.h-${GLEXT}.bz2 > ${WORKDIR}/glext.h || die
-}
-
-src_install() {
- newsbin ${FILESDIR}/opengl-update-${PV} opengl-update || die
-
- # Install default glext.h
- dodir /usr/lib/opengl/global/include
- insinto /usr/lib/opengl/global/include
- doins ${WORKDIR}/glext.h || die
-}
-
-pkg_postinst() {
- echo
- ewarn "This version will only work with >=x11-base/xorg-x11-6.8.0-r2."
- ewarn "Upgrade before running ${PN}."
- echo
-}