blob: 6631998635685f4cffcd4d3ed80e83b48d770e3f (
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
34
35
36
37
38
39
40
|
#Copyright 2000 Achim Gottinger
#Distributed under the GPL
P=xawtv-3.17
A=xawtv_3.17.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="TV application for the bttv driver"
SRC_URI="http://me.in-berlin.de/~kraxel/v4l/"${A}
HOMEPAGE="http://me.in-berlin.de/~kraxel/xawtv.html"
src_unpack() {
unpack ${A}
}
src_compile() {
cd ${S}
./configure --host=${CHOST} --prefix=/usr \
--enable-jpeg --enable-xfree-ext --enable-xvideo --with-x
make
}
src_install() {
cd ${S}
make prefix=${D}/usr install
prepman
dodoc COPYING Changes KNOWN_PROBLEMS Miro_gpio.txt Programming-FAQ
dodoc README* Sound-FAQ TODO Trouble-Shooting UPDATE_TO_v3.0
insinto /usr/local/httpd/cgi-bin
insopts -m 755
doins webcam/webcam.cgi
dodir /usr/X11R6/lib
mv ${D}/usr/lib/X11 ${D}/usr/X11R6/lib
rm ${D}/usr/X11R6/lib/fonts/misc/fonts.dir
rm -fd ${D}/usr/lib
}
|