summaryrefslogtreecommitdiff
blob: ab90b928adb0ffa5e63715630c3e791113e7e7ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# 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-gatos/ati-gatos-4.2.0.11-r1.ebuild,v 1.7 2003/02/13 13:23:01 vapier Exp $

S=${WORKDIR}/X11R6
MY_P=ATI-4.2.0-11
DESCRIPTION="ATI drivers for Xfree86 that support ATI video capabilities"
SRC_URI="mirror://sourceforge/gatos/${MY_P}.i386.tar.gz"
HOMEPAGE="http://gatos.sourceforge.net"

SLOT="0"
LICENSE="as-is"
KEYWORDS="x86 -ppc"

DEPEND="x11-base/xfree"

src_install () {
	dodoc ${S}/README* ${S}/ATI*
	cd ${S}/lib/modules
	insinto /usr/X11R6/lib/modules/multimedia
	doins multimedia/*.o
	
	cd ${S}/lib/modules/drivers
	insinto /usr/X11R6/lib/modules/drivers
	for x in *.o
	do
		newins ${x} gatos-${x}
	done
}

pkg_postinst() {
	einfo "To ensure that the drivers distributed with XFree86 do not"
	einfo "get over written with the ones distributed with this package,"
	einfo "\"gatos-\" is pre-pended to all the drivers.  This means that"
	einfo "for instance, \"ati_drv.o\" have become \"gatos-ati_drv.o\","
	einfo "and that \"gatos-ati\" should be used in your XF86Config."
}