summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/ati-drivers/ati-drivers-2.9.8.ebuild')
-rw-r--r--media-video/ati-drivers/ati-drivers-2.9.8.ebuild24
1 files changed, 12 insertions, 12 deletions
diff --git a/media-video/ati-drivers/ati-drivers-2.9.8.ebuild b/media-video/ati-drivers/ati-drivers-2.9.8.ebuild
index f7b083356b14..cab2ec588f58 100644
--- a/media-video/ati-drivers/ati-drivers-2.9.8.ebuild
+++ b/media-video/ati-drivers/ati-drivers-2.9.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/ati-drivers/ati-drivers-2.9.8.ebuild,v 1.3 2003/05/03 23:42:36 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/ati-drivers/ati-drivers-2.9.8.ebuild,v 1.4 2003/09/07 00:08:12 msterret Exp $
IUSE="qt kde gnome"
@@ -40,7 +40,7 @@ src_unpack() {
local ATIBIN="${D}/opt/ati/bin"
mkdir fglrx_panel
cd fglrx_panel
- tar zxf ${WORKDIR}/usr/src/fglrx_panel_sources.tgz || die
+ tar zxf ${WORKDIR}/usr/src/fglrx_panel_sources.tgz || die
sed -e "s:"${OLDBIN}":"${ATIBIN}":"\
Makefile >Makefile.new
mv Makefile.new Makefile
@@ -58,19 +58,19 @@ src_compile() {
sed -e 's:`id -u`:0:' make.sh >make.sh.new
sed -e 's:`uname -r`:${KV}:' make.sh.new >make.sh
chmod +x make.sh
- ./make.sh || ewarn "glx module not built"
-
+ ./make.sh || ewarn "glx module not built"
+
einfo "building the fgl_glxgears sample"
cd ${WORKDIR}/fglrxgears
make -f Makefile.Linux || die
-
+
if [ "`use qt`" ]
- then
+ then
einfo "building the qt fglx panel"
cd ${WORKDIR}/fglrx_panel
emake || die
fi
- #removing stuff
+ #removing stuff
einfo "cleaning"
cd ${WORKDIR}
rm -fR usr/share
@@ -85,19 +85,19 @@ pkg_preinst() {
then
rm -rf ${ROOT}/usr/lib/opengl/ati/*
fi
-}
+}
src_install() {
local ATI_ROOT="/usr/lib/opengl/ati"
cd ${WORKDIR}
-#drm module
+#drm module
insinto /lib/modules/${KV}/video
doins lib/modules/fglrx/build_mod/fglrx.o
#dri driver
exeinto ${ATI_ROOT}/lib
- doexe usr/X11R6/lib/libGL.so.1.2
+ doexe usr/X11R6/lib/libGL.so.1.2
dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so.1
dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so
dosym libGL.so.1.2 ${ATI_ROOT}/lib/libMesaGL.so
@@ -109,7 +109,7 @@ src_install() {
dosym ../xfree/include ${ATI_ROOT}/include
dosym ../xfree/extensions ${ATI_ROOT}/extensions
rm usr/X11R6/lib/libGL.so.1.2
-
+
#apps
insinto /etc/env.d
doins ${FILESDIR}/09ati
@@ -118,7 +118,7 @@ src_install() {
doexe usr/X11R6/bin/*
rm usr/X11R6/bin/*
- if [ "`use qt`" ]
+ if [ "`use qt`" ]
then
doexe fglrx_panel/fireglcontrol
fi