summaryrefslogtreecommitdiffstats
path: root/abs/core/ceton/PKGBUILD
blob: 366763df4f73b9e957405a8287905076fe7f8dce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $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.3
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_3.tar.gz'
	'ctn_udev.patch' 'ifctn.sh')

build() {
  cd $startdir/src/ceton_infinitv_linux_driver
#  patch -p1 < ../hdpvr.diff
  patch -p0 < $srcdir/ctn_udev.patch
  make
  make install
  mkdir -p $startdir/pkg/lib/modules/$_kernver/extra
  cp ctn91xx.ko $startdir/pkg/lib/modules/$_kernver/extra
  mkdir -p $pkgdir/etc/udev/rules.d
  cp 98-ctn91xx.rules $pkgdir/etc/udev/rules.d/
  mkdir -p $pkgdir/usr/LH/bin
  install -m 755 $srcdir/ifctn.sh $pkgdir/usr/LH/bin
}
md5sums=('5021db6c04e2f0c2a8367d9c15827470'
         '05371fcff10a2d9058644e860f5c17ef'
         '3fc4c4981d2dab54b297f17564b7729f')