# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit autotools eutils DESCRIPTION="wxCam is a webcam application for linux" HOMEPAGE="http://wxcam.sourceforge.net" SRC_URI="mirror://sourceforge/${PN}/${PN}/${PV}/${P}.tar.bz2" LICENSE="GPL-3" SLOT="0" KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" IUSE="" DEPEND="x11-libs/wxGTK:2.8 media-libs/xvid media-libs/libv4l media-video/mjpegtools media-libs/alsa-lib" RDEPEND="${DEPEND} media-libs/CImg" src_prepare() { eautoreconf } src_configure() { econf } src_compile() { emake || die "emake failed" } src_install() { emake DESTDIR="${D}" install || die "emake install failed" rm -r "${D}/usr/doc" dodoc AUTHORS ChangeLog NEWS README domenu wxcam.desktop doicon wxcam.png }