forked from ports/contrib
25 lines
698 B
Plaintext
25 lines
698 B
Plaintext
# Description: Linux DXR3 and Hollywood+ Driver
|
|
# URL: http://dxr3.sf.net
|
|
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
|
|
# Depends on:
|
|
|
|
name=em8300
|
|
version=0.15.4cvs1
|
|
release=2
|
|
source=(http://dl.sourceforge.net/sourceforge/dxr3/$name-0.15.3.tar.gz em8300-ntsc.diff em8300_2.6.17_2.patch.gz)
|
|
|
|
build () {
|
|
cd $name-0.15.3
|
|
patch -p1 < ../em8300-ntsc.diff
|
|
zcat ../em8300_2.6.17_2.patch.gz | patch -p0
|
|
./configure --prefix=/usr
|
|
make
|
|
make DESTDIR=$PKG install
|
|
cd modules
|
|
make
|
|
make DESTDIR=$PKG install
|
|
rm -rf $PKG/usr/share/em8300 $PKG/usr/bin/{autocal,dhc,dxr3view}
|
|
# mkdir -p $PKG/etc/udev/rules.d
|
|
# install -m 644 em8300-udev.rules $PKG/etc/udev/rules.d/90-em8300.rules
|
|
}
|