summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-08-13 08:05:41 (GMT)
committerCecil <knoppmyth@gmail.com>2011-08-13 08:05:41 (GMT)
commite11fce5276ea7ca11a8cfb36beab0d10bd5d2047 (patch)
treeb0b5c572253610c66f9182960a40ac959e207437 /abs
parente5627410d6b14e648b1773256849f29d75ed6f39 (diff)
downloadlinhes_pkgbuild-e11fce5276ea7ca11a8cfb36beab0d10bd5d2047.zip
linhes_pkgbuild-e11fce5276ea7ca11a8cfb36beab0d10bd5d2047.tar.gz
linhes_pkgbuild-e11fce5276ea7ca11a8cfb36beab0d10bd5d2047.tar.bz2
ceton:Initial inclusion. Drivers for InfinTV 4.
Diffstat (limited to 'abs')
-rw-r--r--abs/core/ceton/PKGBUILD28
-rw-r--r--abs/core/ceton/ceton.install23
2 files changed, 51 insertions, 0 deletions
diff --git a/abs/core/ceton/PKGBUILD b/abs/core/ceton/PKGBUILD
new file mode 100644
index 0000000..97eb417
--- /dev/null
+++ b/abs/core/ceton/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 5936 2008-07-21 20:24:16Z thomas $
+# Maintainer: Cecil Watson<knoppmyth@gmail.com>
+
+pkgname=ceton
+_kernver=2.6.39-LinHES
+pkgver=1.2
+pkgrel=3
+pkgdesc="Drivers for Ceton InfiniTV4"
+arch=('i686' 'x86_64')
+license=('GPL2')
+url="http://linuxtv.org/"
+depends=('kernel26')
+makedepends=(kernel-headers)
+install=ceton.install
+source=('http://www.cetoncorp.com/firmware/ceton_infinitv_linux_driver_1_2.tar.gz')
+
+build() {
+ cd $startdir/src/ceton_infinitv_linux_driver
+# patch -p1 < ../hdpvr.diff
+ make
+ make install
+ mkdir -p $startdir/pkg/lib/modules/$_kernver/kernel/drivers/media/video
+ cp ctn91xx.ko $startdir/pkg/lib/modules/$_kernver/kernel/drivers/media/video
+ mkdir -p $pkgdir/etc/udev/rules.d
+ cp 98-ctn91xx.rules $pkgdir/etc/udev/rules.d/
+
+}
+md5sums=('7a014a32d88e0792231b439079c20acd')
diff --git a/abs/core/ceton/ceton.install b/abs/core/ceton/ceton.install
new file mode 100644
index 0000000..912a323
--- /dev/null
+++ b/abs/core/ceton/ceton.install
@@ -0,0 +1,23 @@
+# arg 1: the new package version
+post_install() {
+ KERNEL_VERSION='2.6.39-LinHES'
+ depmod -ae -v $KERNEL_VERSION > /dev/null 2>&1
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ KERNEL_VERSION='2.6.39-LinHES'
+ depmod -ae -v $KERNEL_VERSION > /dev/null 2>&1
+
+}
+
+# arg 1: the old package version
+post_remove() {
+ KERNEL_VERSION='2.6.28-LinHES'
+ depmod -ae -v $KERNEL_VERSION > /dev/null 2>&1
+}
+
+op=$1
+shift
+$op $*