summaryrefslogtreecommitdiff
path: root/community/catalyst-lts-dkms
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-02-10 01:12:52 -0800
committerroot <root@rshg054.dnsready.net>2013-02-10 01:12:52 -0800
commit1bb2648cde916ac27d3dd75d7b64a4ddc89787b7 (patch)
tree016bfa1969323404c37dbef29cfc7242a5a8e9f3 /community/catalyst-lts-dkms
parente9c244cac8e5dc1c59c7e8b7bc885fef04224b70 (diff)
Sun Feb 10 01:12:35 PST 2013
Diffstat (limited to 'community/catalyst-lts-dkms')
-rw-r--r--community/catalyst-lts-dkms/PKGBUILD46
-rw-r--r--community/catalyst-lts-dkms/catalyst.install24
-rw-r--r--community/catalyst-lts-dkms/dkms.conf7
3 files changed, 0 insertions, 77 deletions
diff --git a/community/catalyst-lts-dkms/PKGBUILD b/community/catalyst-lts-dkms/PKGBUILD
deleted file mode 100644
index 2c0683df7..000000000
--- a/community/catalyst-lts-dkms/PKGBUILD
+++ /dev/null
@@ -1,46 +0,0 @@
-# $Id: PKGBUILD 76980 2012-10-02 21:28:25Z lcarlier $
-# Maintainer: Laurent Carlier <lordheavym@gmail.com>
-# Contributor: Vi0L0, wonder, Eduardo "kensai" Romero
-# Contributor: aidanlinz, Rip-Rip, OvsInc, Sebastian Siebert
-
-pkgname=catalyst-lts-dkms
-pkgver=12.8
-pkgrel=0.1
-pkgdesc="AMD proprietary gpu kernel driver"
-arch=('i686' 'x86_64')
-url="http://www.amd.com"
-license=('custom')
-depends=('linux-lts' 'linux-lts-headers' 'dkms')
-source=(http://www2.ati.com/drivers/linux/amd-driver-installer-${pkgver/./-}-x86.x86_64.zip
- dkms.conf)
-md5sums=('41c5478322b13be6909eeb46412a3aa0'
- '98d42443e84e91674ba79f0e6c38c572')
-install=catalyst.install
-
-package() {
- depends=(${depends[@]} "catalyst-utils=${pkgver}")
-
- cd ${srcdir}
-
- if [ "${CARCH}" = "x86_64" ]; then
- _archdir=x86_64
- else
- _archdir=x86
- fi
-
- sh ./amd-driver-installer*.run --extract fglrx-install
-
- cd fglrx-install
-
- install -dm755 "${pkgdir}/usr/lib/modprobe.d"
- install -dm755 "${pkgdir}/usr/src/fglrx-lts-${pkgver}-${pkgrel}"
- cp -r common/lib/modules/fglrx/build_mod/* "${pkgdir}/usr/src/fglrx-lts-${pkgver}-${pkgrel}/"
- cp "arch/${_archdir}"/lib/modules/fglrx/build_mod/libfglrx_ip.a "${pkgdir}/usr/src/fglrx-lts-${pkgver}-${pkgrel}/"
- cp ${srcdir}/dkms.conf "${pkgdir}/usr/src/fglrx-lts-${pkgver}-${pkgrel}/"
- sed -i -e "s/@VERSION@/${pkgver}-${pkgrel}/" "${pkgdir}/usr/src/fglrx-lts-${pkgver}-${pkgrel}/dkms.conf"
-
- echo "blacklist radeon" >> "${pkgdir}/usr/lib/modprobe.d/catalyst-lts.conf"
-
- # license
- install -Dm644 "${srcdir}/fglrx-install/LICENSE.TXT" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.TXT"
-}
diff --git a/community/catalyst-lts-dkms/catalyst.install b/community/catalyst-lts-dkms/catalyst.install
deleted file mode 100644
index 021f3fc54..000000000
--- a/community/catalyst-lts-dkms/catalyst.install
+++ /dev/null
@@ -1,24 +0,0 @@
-post_install()
-{
- dkms add -m fglrx-lts -v $1
- dkms build -m fglrx-lts -v $1
- dkms install -m fglrx-lts -v $1
-}
-
-pre_upgrade()
-{
- dkms remove -m fglrx-lts -v $1 --all
-}
-
-post_upgrade()
-{
- dkms add -m fglrx-lts -v $1
- dkms build -m fglrx-lts -v $1
- dkms install -m fglrx-lts -v $1
-}
-
-pre_remove()
-{
- dkms remove -m fglrx-lts -v $1 --all
-}
-
diff --git a/community/catalyst-lts-dkms/dkms.conf b/community/catalyst-lts-dkms/dkms.conf
deleted file mode 100644
index 64f81f832..000000000
--- a/community/catalyst-lts-dkms/dkms.conf
+++ /dev/null
@@ -1,7 +0,0 @@
-PACKAGE_NAME="fglrx-lts"
-PACKAGE_VERSION="@VERSION@"
-CLEAN="rm -f *.*o"
-BUILT_MODULE_NAME[0]="fglrx"
-MAKE[0]="sh make.sh --nohints --uname_r=$kernelver --norootcheck"
-DEST_MODULE_LOCATION[0]="/extramodules"
-AUTOINSTALL="yes"