37 lines
909 B
Bash
37 lines
909 B
Bash
# Copyright 1999-2013 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/media-video/dxr3config/dxr3config-0.3.4.ebuild,v 1.2 2013/06/23 18:19:36 hd_brummy Exp $
|
|
|
|
EAPI="5"
|
|
|
|
RESTRICT="mirror bindist"
|
|
|
|
inherit eutils
|
|
|
|
MY_PV="${PV/./-}"
|
|
MY_P="${PN}${MY_PV/./-}"
|
|
|
|
DESCRIPTION="a small tool, which helps you to find the appropriate module parameters for a dxr3-mpeg card."
|
|
HOMEPAGE="http://free.pages.at/wicky4vdr"
|
|
SRC_URI="http://free.pages.at/wicky4vdr/download/${MY_P}.tgz"
|
|
|
|
LICENSE="all-rights-reserved"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
RDEPEND="dev-util/dialog
|
|
media-video/em8300-modules"
|
|
|
|
S=${WORKDIR}
|
|
|
|
src_prepare() {
|
|
epatch "${FILESDIR}/${P}-modprobed.diff"
|
|
sed -i -e 's:DIST="debian":DIST="gentoo":' usr/sbin/${PN}
|
|
}
|
|
|
|
src_install() {
|
|
newsbin usr/sbin/${PN} ${PN}
|
|
insinto /usr/share/${PN}
|
|
doins usr/share/${PN}/${PN}.m2v
|
|
}
|