summaryrefslogtreecommitdiff
blob: 9e1d12e95c8c48aba32f29a012b8bc572fd63208 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/motioneye/motioneye-1.2.ebuild,v 1.4 2004/06/25 00:45:08 agriffis Exp $

inherit eutils

DESCRIPTION="ppm, jpeg or mjpeg grabber for the MotionEye camera on Sony VAIO Picturebooks."
HOMEPAGE="http://spop.free.fr/meye/"
SRC_URI="http://spop.free.fr/meye/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="X"
DEPEND="X? ( virtual/x11
		media-libs/imlib )"

src_compile() {
	cd ${S}
	epatch ${FILESDIR}/${P}-Makefile.diff
	if use X; then
		export WITHX='yes'
	else
		export WITHX='no'
	fi
	make || die
}

src_install() {
	exeinto /usr/bin
	doexe motioneye
}