blob: 7636fe5f238ebfa7e5b21e3d07a0a056e7616247 (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/SDLcam/SDLcam-0.8.2.ebuild,v 1.3 2010/03/22 14:23:16 phajdan.jr Exp $
inherit eutils
DESCRIPTION="webcam application that uses the SDL library"
HOMEPAGE="http://sdlcam.raphnet.net/"
SRC_URI="http://sdlcam.raphnet.net/downloads/sdlcam-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""
DEPEND="dev-libs/libxml2
media-libs/jpeg
media-libs/libpng
media-libs/libfame
media-libs/libsdl
media-libs/sdl-image
media-libs/sdl-ttf"
S=${WORKDIR}/sdlcam-${PV}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-glibc210.patch
}
src_install() {
emake install DESTDIR="${D}" || die
dodoc AUTHORS ChangeLog NEWS README TODO \
Documentation/config_file.txt Documentation/gui.txt
}
|