diff options
Diffstat (limited to 'media-tv/dvbstreamer/dvbstreamer-1.1.ebuild')
-rw-r--r-- | media-tv/dvbstreamer/dvbstreamer-1.1.ebuild | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/media-tv/dvbstreamer/dvbstreamer-1.1.ebuild b/media-tv/dvbstreamer/dvbstreamer-1.1.ebuild index 49887756f1de..426a97ea4cab 100644 --- a/media-tv/dvbstreamer/dvbstreamer-1.1.ebuild +++ b/media-tv/dvbstreamer/dvbstreamer-1.1.ebuild @@ -1,10 +1,9 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/dvbstreamer/dvbstreamer-1.1.ebuild,v 1.3 2009/01/10 17:56:00 gentoofan23 Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/dvbstreamer/dvbstreamer-1.1.ebuild,v 1.4 2009/08/10 07:53:09 ssuominen Exp $ -EAPI="1" - -inherit multilib +EAPI=2 +inherit autotools eutils multilib DESCRIPTION="DVB over UDP streaming solution" HOMEPAGE="http://dvbstreamer.sourceforge.net/" @@ -17,23 +16,23 @@ IUSE="" RDEPEND="dev-db/sqlite:3 sys-libs/readline" - DEPEND="${RDEPEND} media-tv/linuxtv-dvb-headers" -src_unpack() { - unpack ${A} +src_prepare() { # delete unneeded linking against libtermcap - sed -i "${S}"/src/Makefile* -e 's:-ltermcap::' + sed -i -e 's:-ltermcap::' src/Makefile.am || die "sed failed" + epatch "${FILESDIR}"/${P}-Werror.patch + AT_NO_RECURSIVE="yes" eautoreconf } -src_compile() { - econf --libdir=/usr/$(get_libdir) || die "configure failed" - emake || die "make failed" +src_configure() { + econf \ + --libdir=/usr/$(get_libdir) } src_install() { - emake install DESTDIR="${D}" || die "make install failed" + emake DESTDIR="${D}" install || die "emake install failed" rm -rf "${D}"/usr/doc/ dodoc doc/*.txt ChangeLog README AUTHORS NEWS TODO |