summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-08-07 04:22:12 +0000
committerMike Frysinger <vapier@gentoo.org>2003-08-07 04:22:12 +0000
commitb8bbc308b4983c55cc1f477449754e78672bbe8c (patch)
tree25c74cc384e98e46c419bbe9d3d78c6b2eeb02db /media-video/mtxdrivers-pro
parentfix license/repoman (diff)
downloadhistorical-b8bbc308b4983c55cc1f477449754e78672bbe8c.tar.gz
historical-b8bbc308b4983c55cc1f477449754e78672bbe8c.tar.bz2
historical-b8bbc308b4983c55cc1f477449754e78672bbe8c.zip
fix license/repoman
Diffstat (limited to 'media-video/mtxdrivers-pro')
-rw-r--r--media-video/mtxdrivers-pro/mtxdrivers-pro-1.0_beta4.ebuild46
1 files changed, 19 insertions, 27 deletions
diff --git a/media-video/mtxdrivers-pro/mtxdrivers-pro-1.0_beta4.ebuild b/media-video/mtxdrivers-pro/mtxdrivers-pro-1.0_beta4.ebuild
index 24c4252f7b92..0f3ed00326eb 100644
--- a/media-video/mtxdrivers-pro/mtxdrivers-pro-1.0_beta4.ebuild
+++ b/media-video/mtxdrivers-pro/mtxdrivers-pro-1.0_beta4.ebuild
@@ -1,41 +1,35 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mtxdrivers-pro/mtxdrivers-pro-1.0_beta4.ebuild,v 1.5 2003/06/06 20:24:33 prez Exp $
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/mtxdrivers-pro/mtxdrivers-pro-1.0_beta4.ebuild,v 1.6 2003/08/07 04:21:37 vapier Exp $
At="mtxdrivers-pro-rh9.0-beta4.tar.gz"
S="${WORKDIR}/mtxdrivers-pro-RH9.0-beta4"
-SRC_URI=""
DESCRIPTION="Drviers for the Matrox Parhelia and Millenium P650/P750 cards with GL suport."
HOMEPAGE="http://www.matrox.com/mga/products/parhelia/home.cfm"
+SRC_URI="${At}"
+
+LICENSE="Matrox"
+SLOT="0"
+KEYWORDS="x86"
+RESTRICT="fetch"
DEPEND=">=x11-base/xfree-4.2.0
virtual/kernel
opengl-update
- !mtxdrivers"
-
-SLOT="0"
-LICENSE="Matrox"
-KEYWORDS="x86"
-PROVIDE="virtual/glibc"
+ !mtxdrivers"
Xversion=`X -version 2>&1 | grep -s "XFree86 Version" | cut -d" " -f3 | sed -e "s/\([^\.]*\.[^\.]*\.[^\.]*\)\.[^\.]*/\1/"`
GLversion="1.3.0"
-src_unpack() {
- if [ ! -f "${DISTDIR}/${At}" ]; then
- einfo "Matrox requires you email them for the 'pro' version of their drivers"
- einfo "(ie. the ones with GL support). If you do not need GL support, please"
- einfo "emerge mtxdrivers, otherwise e-mail cad-support@matrox.com and request"
- einfo "the Matrox Parhelia drivers with GL support. Please remember to"
- einfo "download the RH9.0 driver, once you are given the site address."
- die
- fi
- unpack ${At}
+pkg_nofetch() {
+ einfo "Matrox requires you email them for the 'pro' version of their drivers"
+ einfo "(ie. the ones with GL support). If you do not need GL support, please"
+ einfo "emerge mtxdrivers, otherwise e-mail cad-support@matrox.com and request"
+ einfo "the Matrox Parhelia drivers with GL support. Please remember to"
+ einfo "download the RH9.0 driver, once you are given the site address."
}
src_compile() {
- cd ${S}
-
if [ ! -e ${S}/xfree86/${Xversion} ]; then
eerror "Matrox does not support XFree v${Xversion}"
exit 1
@@ -51,15 +45,13 @@ src_compile() {
}
src_install() {
- cd ${S}
-
Xpath="`which X | sed -e "s:/bin/X$::"`"
Kversion=`uname -r`
dodir /lib/modules/${Kversion}/kernel/drivers/video
dodir /usr/include/GL ${Xpath}/lib/modules/drivers
dodir /usr/lib/opengl/mtx/extensions
- dodir /usr/lib/opengl/mtx/lib /usr/lib/opengl/mtx/include
+ dodir /usr/lib/opengl/mtx/lib /usr/lib/opengl/mtx/include
dodoc README* samples/*
@@ -81,8 +73,8 @@ src_install() {
}
pkg_postinst() {
- /sbin/depmod -a
- /sbin/ldconfig
+ /sbin/depmod -a
+ /sbin/ldconfig
opengl-update mtx
einfo "Please look at /usr/share/doc/${P}/XF86Config.* for"
einfo "X configurations for your Parhelia or Millenium P650/P750 card."