summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2006-11-13 22:28:10 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2006-11-13 22:28:10 +0000
commit0375986c15c9efdadda3f83969cdda1f4c14a5f3 (patch)
treef331a6a93e06dc00ea70afb6d47fdfe024a78058 /media-tv
parentStable on Alpha. (diff)
downloadgentoo-2-0375986c15c9efdadda3f83969cdda1f4c14a5f3.tar.gz
gentoo-2-0375986c15c9efdadda3f83969cdda1f4c14a5f3.tar.bz2
gentoo-2-0375986c15c9efdadda3f83969cdda1f4c14a5f3.zip
Enable ebuild to use other repository-pathes than default.
(Portage version: 2.1.2_rc1-r6)
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/v4l-dvb-hg/ChangeLog6
-rw-r--r--media-tv/v4l-dvb-hg/files/digest-v4l-dvb-hg-0.1-r21
-rw-r--r--media-tv/v4l-dvb-hg/v4l-dvb-hg-0.1-r2.ebuild14
3 files changed, 11 insertions, 10 deletions
diff --git a/media-tv/v4l-dvb-hg/ChangeLog b/media-tv/v4l-dvb-hg/ChangeLog
index 72b4aff5a8bb..0d4310271687 100644
--- a/media-tv/v4l-dvb-hg/ChangeLog
+++ b/media-tv/v4l-dvb-hg/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-tv/v4l-dvb-hg
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/v4l-dvb-hg/ChangeLog,v 1.7 2006/09/09 19:45:47 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/v4l-dvb-hg/ChangeLog,v 1.8 2006/11/13 22:28:10 zzam Exp $
+
+ 13 Nov 2006; Matthias Schwarzott <zzam@gentoo.org>
+ v4l-dvb-hg-0.1-r2.ebuild:
+ Enable ebuild to use other repository-pathes than default.
09 Sep 2006; Matthias Schwarzott <zzam@gentoo.org>
v4l-dvb-hg-0.1-r2.ebuild:
diff --git a/media-tv/v4l-dvb-hg/files/digest-v4l-dvb-hg-0.1-r2 b/media-tv/v4l-dvb-hg/files/digest-v4l-dvb-hg-0.1-r2
index 8b137891791f..e69de29bb2d1 100644
--- a/media-tv/v4l-dvb-hg/files/digest-v4l-dvb-hg-0.1-r2
+++ b/media-tv/v4l-dvb-hg/files/digest-v4l-dvb-hg-0.1-r2
@@ -1 +0,0 @@
-
diff --git a/media-tv/v4l-dvb-hg/v4l-dvb-hg-0.1-r2.ebuild b/media-tv/v4l-dvb-hg/v4l-dvb-hg-0.1-r2.ebuild
index 6e36120105d9..f91c58c52ee8 100644
--- a/media-tv/v4l-dvb-hg/v4l-dvb-hg-0.1-r2.ebuild
+++ b/media-tv/v4l-dvb-hg/v4l-dvb-hg-0.1-r2.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/v4l-dvb-hg/v4l-dvb-hg-0.1-r2.ebuild,v 1.4 2006/09/09 19:45:47 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/v4l-dvb-hg/v4l-dvb-hg-0.1-r2.ebuild,v 1.5 2006/11/13 22:28:10 zzam Exp $
-: ${EHG_REPO_URI:=http://linuxtv.org/hg/v4l-dvb}
+: ${EHG_REPO_URI:=${V4l_DVB_HG_REPO_URI:-http://linuxtv.org/hg/v4l-dvb}}
inherit linux-mod eutils toolchain-funcs mercurial
@@ -19,7 +19,7 @@ IUSE=""
DEPEND="virtual/linux-sources"
RDEPEND=""
-S=${WORKDIR}/v4l-dvb/v4l
+S=${WORKDIR}/${EHG_REPO_URI##*/}/v4l
pkg_setup()
{
@@ -44,12 +44,10 @@ pkg_setup()
src_unpack() {
# download and copy files
- S=${WORKDIR}/v4l-dvb mercurial_src_unpack
-
- cd ${WORKDIR}
- epatch ${FILESDIR}/${PN}-fix-makefile-recursion.diff
+ mercurial_src_unpack
cd ${S}
+ epatch ${FILESDIR}/${PN}-fix-makefile-recursion.diff
export ARCH=$(tc-arch-kernel)
make allmodconfig ${BUILD_PARAMS}
@@ -77,7 +75,7 @@ src_unpack() {
echo
einfo "Removing autoload-entry from stradis-driver."
- sed -i ${WORKDIR}/v4l-dvb/linux/drivers/media/video/stradis.c -e '/MODULE_DEVICE_TABLE/d'
+ sed -i ${S}/../linux/drivers/media/video/stradis.c -e '/MODULE_DEVICE_TABLE/d'
cd ${S}
sed -e 's#/lib/modules/$(KERNELRELEASE)/kernel/drivers/media#$(DESTDIR)/$(DEST)#' \