summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <spyderous@gentoo.org>2004-03-22 00:25:37 +0000
committerDonnie Berkholz <spyderous@gentoo.org>2004-03-22 00:25:37 +0000
commit4f566a15ce0f74a1e4e69c389df95a3ed4018c86 (patch)
treed91c2c036694e40c41a72364a9a626bdfded16a1 /media-video/kyro-drivers/kyro-drivers-2.01.21.7.ebuild
parentPull old version. (Manifest recommit) (diff)
downloadgentoo-2-4f566a15ce0f74a1e4e69c389df95a3ed4018c86.tar.gz
gentoo-2-4f566a15ce0f74a1e4e69c389df95a3ed4018c86.tar.bz2
gentoo-2-4f566a15ce0f74a1e4e69c389df95a3ed4018c86.zip
Move from kyro-kernel.
Diffstat (limited to 'media-video/kyro-drivers/kyro-drivers-2.01.21.7.ebuild')
-rw-r--r--media-video/kyro-drivers/kyro-drivers-2.01.21.7.ebuild52
1 files changed, 52 insertions, 0 deletions
diff --git a/media-video/kyro-drivers/kyro-drivers-2.01.21.7.ebuild b/media-video/kyro-drivers/kyro-drivers-2.01.21.7.ebuild
new file mode 100644
index 000000000000..b8c59d1d31c1
--- /dev/null
+++ b/media-video/kyro-drivers/kyro-drivers-2.01.21.7.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/kyro-drivers/kyro-drivers-2.01.21.7.ebuild,v 1.1 2004/03/22 00:25:36 spyderous Exp $
+
+inherit eutils
+
+MY_P=powervr-${PV%.*}-${PV#*.*.*.}
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="XFree86 DRI drivers for the KyroII card"
+HOMEPAGE="http://www.powervr.com/"
+SRC_URI="http://www.powervr.com/Drivers/Linux/${MY_P}.tgz"
+
+LICENSE="ImaginationTechnologies"
+SLOT="${KV}"
+KEYWORDS="-* ~x86"
+RESTRICT="nostrip"
+
+DEPEND="virtual/linux-sources
+ >=sys-apps/portage-1.9.10"
+RDEPEND="virtual/x11"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/mtrr-include-fix.diff
+}
+
+src_compile() {
+ check_KV
+ make || die
+}
+
+src_install() {
+ insinto /lib/modules/${KV}/drivers/char/drm/
+ doins powervr.o
+
+ dolib.so lib*.so
+ dolib.a lib*.a
+
+ insinto /usr/X11R6/lib/modules/dri
+ doins powervr_dri.so
+
+ insinto /usr/X11R6/lib/modules/drivers
+ doins powervr_drv.o
+
+ insinto /etc
+ doins powervr_kyro.ini
+
+ dosym /usr/lib/libPVR2D.so /usr/X11R6/lib/modules/drivers/libPVR2D.so
+
+ dodoc XF86KyroSampleConfig LICENSE.TXT README
+}