summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-tv/userspace-tuner-hg/userspace-tuner-hg-0.1.ebuild')
-rw-r--r--media-tv/userspace-tuner-hg/userspace-tuner-hg-0.1.ebuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/media-tv/userspace-tuner-hg/userspace-tuner-hg-0.1.ebuild b/media-tv/userspace-tuner-hg/userspace-tuner-hg-0.1.ebuild
index 64e478e..c686d84 100644
--- a/media-tv/userspace-tuner-hg/userspace-tuner-hg-0.1.ebuild
+++ b/media-tv/userspace-tuner-hg/userspace-tuner-hg-0.1.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/userspace-tuner"
pkg_setup() {
- MODULE_NAMES="tuner-stub(kernel/drivers/media/userspace:${S}/kernel)"
+ MODULE_NAMES="media-stub(kernel/drivers/media/userspace:${S}/kernel)"
BUILD_TARGETS="all"
linux-mod_pkg_setup
@@ -45,17 +45,16 @@ src_compile() {
src_install() {
- cd "${S}/kernel"
linux-mod_src_install || die "failed to install kernel module"
cd "${S}/userspace"
make DESTDIR="${D}" install || die "failed to install tuner daemon"
- newinitd ${S}/init.d/gentoo-tuner-daemon tuner-daemon
- newconfd ${S}/conf.d/tuner-daemon tuner-daemon
+ newinitd "${S}"/init.d/gentoo-tuner-daemon tuner-daemon
+ newconfd "${S}"/conf.d/tuner-daemon tuner-daemon
insinto /etc/udev/rules.d
- doins ${S}/udev/80-tuner.rules
+ doins "${S}"/udev/80-tuner.rules
cd "${S}"
dodoc README*