--- camsource-0.7.1.ebuild 2007-06-15 22:06:35.000000000 +0200 +++ camsource-0.7.1-r1.ebuild 2007-06-21 15:06:01.000000000 +0200 @@ -1,8 +1,8 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/camsource/camsource-0.7.1.ebuild,v 1.2 2007/06/15 20:01:10 dertobi123 Exp $ +# $Header: $ -inherit eutils +inherit eutils flag-o-matic DESCRIPTION="Unofficial release of Camsource, grabs images from a v4l and v4l2 webcam devices." HOMEPAGE="http://koti.mbnet.fi/~turja/vino" @@ -23,6 +23,12 @@ epatch "${FILESDIR}"/${P}-example.patch } +src_compile() { + filter-ldflags -Wl,-z,now + econf || die "Configure failed!" + emake || die "Make failed!" +} + src_install() { emake DESTDIR="${D}" install || die "emake install failed." dodoc AUTHORS ChangeLog README