summaryrefslogtreecommitdiffstats
path: root/abs/extra/crystalhd-git/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/crystalhd-git/PKGBUILD')
-rw-r--r--abs/extra/crystalhd-git/PKGBUILD52
1 files changed, 0 insertions, 52 deletions
diff --git a/abs/extra/crystalhd-git/PKGBUILD b/abs/extra/crystalhd-git/PKGBUILD
deleted file mode 100644
index a7b3e7f..0000000
--- a/abs/extra/crystalhd-git/PKGBUILD
+++ /dev/null
@@ -1,52 +0,0 @@
-# Contributor: Petteri Tolonen <petteri.tolonen[at]gmail.com>
-# Maintainer: Petteri Tolonen <petteri.tolonen[at]gmail.com>
-
-pkgname=crystalhd-git
-pkgver=20111227
-pkgrel=1
-pkgdesc="Broadcom CrystalHD kernel module"
-arch=('i686' 'x86_64')
-url="http://linuxtv.org/git/jarod/crystalhd.git"
-license=('GPL2')
-depends=('libcrystalhd-git')
-makedepends=('autoconf' 'make' 'git')
-install='crystalhd-git.install'
-conflicts=('crystalhd')
-_gitroot='git://linuxtv.org/jarod/crystalhd.git'
-_gitname='crystalhd'
-
-build() {
-
- cd $startdir/src
-
- msg "Connecting to the GIT server...."
-
- if [ -d $startdir/src/$_gitname ] ; then
- cd $_gitname && git pull origin
- msg "The local files are updated."
- else
- git clone $_gitroot
- cd $_gitname
- fi
-
- cd driver/linux
-
- autoconf
- ./configure --prefix=/usr
- sed -i 's/'-Werror'/''/g' Makefile
-
- if ! grep -q "<linux/delay.h>" $srcdir/crystalhd/driver/linux/crystalhd_flea_ddr.c
- then
- sed -i '26i #include <linux/delay.h>' $srcdir/crystalhd/driver/linux/crystalhd_flea_ddr.c
- fi
-
- make || return 1
-
- mkdir -p $pkgdir/etc/udev/rules.d
- mkdir -p $pkgdir/lib/modules/$(uname -r)/kernel/drivers/video/broadcom
-
- cp -f 20-crystalhd.rules $pkgdir/etc/udev/rules.d/
- install -d $pkgdir/lib/modules/$(uname -r)/kernel/drivers/video/broadcom
- install -m 0644 crystalhd.ko $pkgdir/lib/modules/$(uname -r)/kernel/drivers/video/broadcom
-}
-md5sums=()