summaryrefslogtreecommitdiff
blob: 5383e613962b05917c9c937447d33cb5fbf4a551 (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/spcaview/spcaview-20061208.ebuild,v 1.2 2007/07/13 22:04:15 vapier Exp $

inherit eutils

DESCRIPTION="A webcam viewer for the spca5xx driver"
HOMEPAGE="http://mxhaard.free.fr/sview.html"
SRC_URI="http://mxhaard.free.fr/spca50x/Download/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE=""

DEPEND="media-libs/libsdl"

src_unpack() {
	unpack ${A}
	cd "${S}"
	mv server.c spcaserv.c
	epatch "${FILESDIR}"/${P}-build.patch
	sed -i '/^BIN/s:/local::' Makefile
}

src_install() {
	emake DESTDIR="${D}" install || die
	dodoc README Changelog
}