blob: 102d5393cc1076d93d271375fad26fb5603411b2 (
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
|
pkgname=plextor-convertX-driver
pkgver=0.9.8
pkgrel=2
_kernver=2.6.26-ARCH
pkgdesc="Drivers for Plextor tuners"
arch=(i686 x86_64)
url="http://nikosapi.org/software/WIS_Go7007"
install="convertX.install"
source=("http://nikosapi.org/software/WIS_Go7007/wis-go7007-linux-0.9.8-2.tar.bz2" 'wis-go7007-2.6.26-nopage.diff')
depends=('udev>=070' 'fxload')
makedepends=('gcc')
build() {
# SET UP
cd $startdir/src/wis-go7007-linux-0.9.8-2 || return 1
patch -Np1 -i ../wis-go7007-2.6.26-nopage.diff || return 1
# build
make clean || return 1
make || return 1
mkdir -p $startdir/pkg/usr/src/linux-$_kernver/include/linux
mkdir -p $startdir/pkg/etc/udev/rules.d
mkdir -p $startdir/pkg/usr/bin
# install
make DESTDIR=$startdir/pkg install || return 1
install -m755 apps/gorecord $startdir/pkg/usr/bin/gorecord
install -m755 apps/modet $startdir/pkg/usr/bin/modet
}
|