summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Guertin <gerk@gentoo.org>2003-03-02 20:22:47 +0000
committerMark Guertin <gerk@gentoo.org>2003-03-02 20:22:47 +0000
commit2e56f6d365d8b0408b54d858ca6824184fc95097 (patch)
treef95de16c222f05b4727acc71551371761e61031b /x11-base
parentAdded hppa to keywords. (diff)
downloadgentoo-2-2e56f6d365d8b0408b54d858ca6824184fc95097.tar.gz
gentoo-2-2e56f6d365d8b0408b54d858ca6824184fc95097.tar.bz2
gentoo-2-2e56f6d365d8b0408b54d858ca6824184fc95097.zip
rev bump
Diffstat (limited to 'x11-base')
-rw-r--r--x11-base/xfree-drm/ChangeLog7
-rw-r--r--x11-base/xfree-drm/files/digest-xfree-drm-4.3.0-r11
-rw-r--r--x11-base/xfree-drm/xfree-drm-4.3.0-r1.ebuild71
3 files changed, 78 insertions, 1 deletions
diff --git a/x11-base/xfree-drm/ChangeLog b/x11-base/xfree-drm/ChangeLog
index a3aea01cdc27..e32b15cd69e1 100644
--- a/x11-base/xfree-drm/ChangeLog
+++ b/x11-base/xfree-drm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-base/xfree-drm
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree-drm/ChangeLog,v 1.8 2003/03/01 00:44:52 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree-drm/ChangeLog,v 1.9 2003/03/02 20:22:47 gerk Exp $
+
+*xfree-drm-4.3.0-r1 (02 Mar 2003)
+
+ 02 Mar 2003; Mark Guertin <gerk@gentoo.org> xfree-drm-4.3.0-r1.ebuild files/digest-xfree-drm-4.3.0-r1 :
+ rev bump to match current xfree
*xfree-drm-4.3.0 (28 Feb 2003)
diff --git a/x11-base/xfree-drm/files/digest-xfree-drm-4.3.0-r1 b/x11-base/xfree-drm/files/digest-xfree-drm-4.3.0-r1
new file mode 100644
index 000000000000..c5d2ebf4eda7
--- /dev/null
+++ b/x11-base/xfree-drm/files/digest-xfree-drm-4.3.0-r1
@@ -0,0 +1 @@
+MD5 912e1bfd85ca8cfec42d1b4f44d716ba drm-trunk.tar.gz 191561
diff --git a/x11-base/xfree-drm/xfree-drm-4.3.0-r1.ebuild b/x11-base/xfree-drm/xfree-drm-4.3.0-r1.ebuild
new file mode 100644
index 000000000000..21f38d343559
--- /dev/null
+++ b/x11-base/xfree-drm/xfree-drm-4.3.0-r1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree-drm/xfree-drm-4.3.0-r1.ebuild,v 1.1 2003/03/02 20:22:47 gerk Exp $
+
+# PPC is using a drm only tarball here now. The fixes we need (read hacks) don't exist
+# in xfree trees (yet), and likely may not for a while due to the hackish nature of some
+# of the requirements - Gerk - Feb 07 2003
+# this build is meant for PPC only, portage eats digests otherwise
+
+IUSE=""
+
+inherit eutils
+
+# Make sure Portage does _NOT_ strip symbols. We will do it later and make sure
+# that only we only strip stuff that are safe to strip ...
+DEBUG="yes"
+RESTRICT="nostrip"
+
+DESCRIPTION="Xfree86 Kernel DRM modules"
+HOMEPAGE="http://www.xfree.org"
+LICENSE="X11"
+SLOT="${KV}"
+KEYWORDS="~ppc -x86 -sparc -alpha -mips"
+
+DEPEND=">=x11-base/xfree-${PV}"
+
+PROVIDE="virtual/drm"
+
+S="${WORKDIR}"
+SRC_URI="http://cvs.gentoo.org/~gerk/distfiles/drm-trunk.tar.gz"
+MY_S="modules/drm-trunk"
+MY_MODULES="r128.o radeon.o"
+
+pkg_setup() {
+
+ check_KV
+}
+
+src_unpack() {
+
+ unpack drm-trunk.tar.gz
+ epatch ${FILESDIR}/${P}-gentoo-ppc-Makefile-fixup.patch
+
+}
+
+src_compile() {
+
+ check_KV
+ einfo "Building DRM..."
+ cd ${MY_S}
+ # removed TREE variable, it uses the proper stuff from
+ # /lib/modules/*/include for running kernel by default
+ make -f Makefile.linux ${MY_MODULES} KV="${KV}" || die
+}
+
+src_install() {
+
+ einfo "installing DRM..."
+ cd ${MY_S}
+ make -f Makefile.linux ${MY_MODULES} KV="${KV}" DESTDIR="${D}" \
+ install || die
+}
+
+pkg_postinst() {
+
+ if [ "${ROOT}" = "/" ]
+ then
+ /sbin/modules-update
+ fi
+}
+