
Originally Posted by
kernelOfTruth
Hi Fran,
could you please post your ebuild ?
Mine is more or less the same as RealNC's. This is the patch for the 9.8 ebuild.
Code:
--- ati-drivers-9.8.ebuild 2009-09-04 17:09:49.000000000 +0200
+++ ati-drivers-9.10.ebuild 2009-09-05 18:15:48.973174197 +0200
@@ -9,7 +9,7 @@
DESCRIPTION="Ati precompiled drivers for r600 (HD Series) and newer chipsets"
HOMEPAGE="http://www.ati.com"
ATI_URL="https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/"
-SRC_URI="${ATI_URL}/ati-driver-installer-${PV/./-}-x86.x86_64.run"
+SRC_URI="${ATI_URL}/ati-driver-installer-${PV/./-}-x86.x86_64.tar.bz2"
IUSE="debug +modules multilib"
LICENSE="AMD GPL-2 QPL-1.0 as-is"
@@ -93,12 +93,6 @@
die "CONFIG_PREEMT_RCU enabled"
fi
- # kernel hook checking up latest allowed version
- if kernel_is ge 2 6 31; then
- eerror "Kernels newer then 2.6.30 are not supported by this driver"
- die "Downgrade your kernel"
- fi
-
if ! linux_chkconfig_present MTRR; then
ewarn "You don't have MTRR support enabled in the kernel."
ewarn "Direct rendering will not work."
@@ -205,12 +199,10 @@
# Switching to a standard way to extract the files since otherwise no signature file
# would be created
local src="${DISTDIR}/${A}"
- sh "${src}" --extract "${S}" 2&>1 /dev/null
+ tar xf "${src}" -C "${S}"
}
src_prepare() {
- epatch "${FILESDIR}"/ati-drivers-xen.patch
-
# All kernel options for prepare are ment to be in here
if use modules; then
# version patches
You must modify the original tar.gz, though. Uncompress it, mkdir common, move {etc,lib,opt,usr} to common, compress it again, rename it to match the SRC_URI and move it to distfiles. You don't need to add anything from the official installer. Remember to ebuild xxxx digest.