blob: 1fdb9f7888afa5acd5e7dc8408e430486814a8ca (
plain)
1 # Description: Linux DXR3 and Hollywood+ Driver
2 # URL: http://dxr3.sf.net
3 # Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
4 # Depends on:
5
6 name=em8300
7 version=0.15.4cvs2
8 release=2
9 source=(http://download.sourceforge.net/dxr3/$name-0.15.3.tar.gz em8300_kernel_2.6.17_2.patch.gz em8300_zoom.patch.gz em8300_ntsc_pos.patch.gz em8300_ntsc_default.patch.gz)
10
11 build () {
12 cd $name-0.15.3
13 # Changes to work with kernel 2.6.17 or superior
14 zcat ../em8300_kernel_2.6.17_2.patch.gz | patch -p0
15 # Enables the usage of a zoom factor in /sys/class/em8300/em8300-0/device/zoom
16 zcat ../em8300_zoom.patch.gz | patch -p0
17 # Fixes the position for ntsc video signal
18 zcat ../em8300_ntsc_pos.patch.gz | patch -p0
19 # Makes ntsc the default (you can change this with em8300setup, but you can comment this)
20 zcat ../em8300_ntsc_default.patch.gz | patch -p1
21 ./configure --prefix=/usr
22 make
23 make DESTDIR=$PKG install
24 cd modules
25 make
26 make DESTDIR=$PKG install
27 rm -rf $PKG/usr/share/em8300 $PKG/usr/bin/{autocal,dhc,dxr3view}
28 # mkdir -p $PKG/etc/udev/rules.d
29 # install -m 644 em8300-udev.rules $PKG/etc/udev/rules.d/90-em8300.rules
30 }
|