summaryrefslogtreecommitdiff
blob: 9aefdf151147cce0963a4ca89cc7f1059c0398c4 (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
39
40
# 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-video/ati-gatos/ati-gatos-4.2.0.11-r1.ebuild,v 1.2 2002/07/11 06:30:42 drobbins 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"

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
	einfo "***************************************************************"
	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."
	einfo "***************************************************************"
	einfo
}