blob: 9dad02013c88e617d9cc8081b60553955ec85a5c (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/gqcam/gqcam-0.9.ebuild,v 1.14 2005/04/24 02:53:28 hansmi Exp $
DESCRIPTION="A V4L-compatible frame grabber - works with many webcams."
SRC_URI="http://cse.unl.edu/~cluening/gqcam/download/${P}.tar.gz"
HOMEPAGE="http://cse.unl.edu/~cluening/gqcam/"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ~mips amd64 ppc ~sparc"
IUSE=""
DEPEND="=x11-libs/gtk+-1.2*
>=media-libs/jpeg-6b-r2
>=media-libs/libpng-1.2.1-r1"
src_unpack() {
unpack ${A}
cd ${S}
mv Makefile Makefile.bad
sed -e "s:-lpng:\`libpng-config --libs\`:" Makefile.bad > Makefile
}
src_compile() {
emake || die
}
src_install () {
dobin gqcam
dodoc CHANGES COPYING INSTALL README README.threads
}
|