# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=5 inherit git-2 EGIT_REPO_URI="git://linuxtv.org/dtv-scan-tables.git" DESCRIPTION="Digital TV scan tables" HOMEPAGE="http://linuxtv.org/" LICENSE="GPL-2 LGPL-2.1" SLOT="0" KEYWORDS="" IUSE="" DEPEND=">=media-tv/v4l-utils-1.4" RDEPEND="${DEPEND} !media-tv/linuxtv-dvb-apps" DOCS=( README ) src_prepare() { # Makefile doesn't support DESTDIR sed -e 's:/usr/local:$(DESTDIR)/usr:' -i Makefile || die 'sed failed!' } src_compile() { emake dvbv3 dvbv5 } src_install() { emake DESTDIR="${D}" install install_v3 }