Enable ebuild to use other repository-pathes than default.
authorMatthias Schwarzott <zzam@gentoo.org>
Mon, 13 Nov 2006 22:28:10 +0000 (22:28 +0000)
committerMatthias Schwarzott <zzam@gentoo.org>
Mon, 13 Nov 2006 22:28:10 +0000 (22:28 +0000)
Package-Manager: portage-2.1.2_rc1-r6

media-tv/v4l-dvb-hg/ChangeLog
media-tv/v4l-dvb-hg/Manifest
media-tv/v4l-dvb-hg/files/digest-v4l-dvb-hg-0.1-r2
media-tv/v4l-dvb-hg/v4l-dvb-hg-0.1-r2.ebuild

index 72b4aff5a8bb680ff0349f17de942b4bec90790c..0d431027168778f611210c41a909513a12e539a6 100644 (file)
@@ -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:
index e64c501ceecae1d691d504d275b0aa6a46998b3a..24e2d6aca42375568336c8f6fa63784d3cf8ee0b 100644 (file)
@@ -5,25 +5,25 @@ AUX v4l-dvb-hg-fix-makefile-recursion.diff 487 RMD160 f6efec24edc262c84ba441db10
 MD5 6bbaa98ad92502ce465c90a5acda4561 files/v4l-dvb-hg-fix-makefile-recursion.diff 487
 RMD160 f6efec24edc262c84ba441db10bda783dcee0f16 files/v4l-dvb-hg-fix-makefile-recursion.diff 487
 SHA256 e49824645474618553f14fed6c3ce203984ea0647da46f542d0f83b46389234f files/v4l-dvb-hg-fix-makefile-recursion.diff 487
-EBUILD v4l-dvb-hg-0.1-r2.ebuild 2781 RMD160 3cd85090abc9a16f3e7e410fe503bae24ca51133 SHA1 c2b291264dd7248ffd3b0048214c39d748561a41 SHA256 4b3b40aff31266075ac5b9a5c5e7ca3fffc0536b79499f0cb3c75378ca4fbb88
-MD5 8ffaa46e9e5973f0bb1c3ff462379585 v4l-dvb-hg-0.1-r2.ebuild 2781
-RMD160 3cd85090abc9a16f3e7e410fe503bae24ca51133 v4l-dvb-hg-0.1-r2.ebuild 2781
-SHA256 4b3b40aff31266075ac5b9a5c5e7ca3fffc0536b79499f0cb3c75378ca4fbb88 v4l-dvb-hg-0.1-r2.ebuild 2781
-MISC ChangeLog 1287 RMD160 44914c8f30a627e182962b35aa9b83f783732bc7 SHA1 b072565e89c72f8f5eb686312c96008367d5e21c SHA256 1f257c9d83ca3cae5e76733bf502e55410767be34233f7a049d4234d5dbeaf4b
-MD5 ea2ae1658bac8a0a72d30e82324f71fd ChangeLog 1287
-RMD160 44914c8f30a627e182962b35aa9b83f783732bc7 ChangeLog 1287
-SHA256 1f257c9d83ca3cae5e76733bf502e55410767be34233f7a049d4234d5dbeaf4b ChangeLog 1287
+EBUILD v4l-dvb-hg-0.1-r2.ebuild 2769 RMD160 e1e344ea3877d127fea72b82b2d186bab7c2982f SHA1 605b25a4db23845d00322c97ae3839fde676c70d SHA256 5dff458f375a4ebce993c42163c00bf49c754f3bece17149567352f5caa2b04b
+MD5 a8f4acf28303e0b9f757ad0ee047748c v4l-dvb-hg-0.1-r2.ebuild 2769
+RMD160 e1e344ea3877d127fea72b82b2d186bab7c2982f v4l-dvb-hg-0.1-r2.ebuild 2769
+SHA256 5dff458f375a4ebce993c42163c00bf49c754f3bece17149567352f5caa2b04b v4l-dvb-hg-0.1-r2.ebuild 2769
+MISC ChangeLog 1430 RMD160 2d2473dc5cf961d0ceb15c3f6ac34125d90c919a SHA1 a3c39e376a84304d09f0543e94e958e3e3d2a6ea SHA256 c5c929b3690aa22c2ccafbd271ef321f1b54d439496c0c50ce70867fd335d874
+MD5 53e2a810e5bb093ef2984f96637cffc7 ChangeLog 1430
+RMD160 2d2473dc5cf961d0ceb15c3f6ac34125d90c919a ChangeLog 1430
+SHA256 c5c929b3690aa22c2ccafbd271ef321f1b54d439496c0c50ce70867fd335d874 ChangeLog 1430
 MISC metadata.xml 300 RMD160 c85719cef743cf573efe73f8f84564292085c91c SHA1 4c00933e1ed60039fae091034d83e28d0890e87c SHA256 29feafd8b7177b65f8bd92553ac96779d9a91e3b7b4eeecfb0924eb7b6979587
 MD5 7c30ab7528b676a1a0c2737821599b29 metadata.xml 300
 RMD160 c85719cef743cf573efe73f8f84564292085c91c metadata.xml 300
 SHA256 29feafd8b7177b65f8bd92553ac96779d9a91e3b7b4eeecfb0924eb7b6979587 metadata.xml 300
-MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-v4l-dvb-hg-0.1-r2 1
-RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-v4l-dvb-hg-0.1-r2 1
-SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-v4l-dvb-hg-0.1-r2 1
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-v4l-dvb-hg-0.1-r2 0
+RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-v4l-dvb-hg-0.1-r2 0
+SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-v4l-dvb-hg-0.1-r2 0
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.5 (GNU/Linux)
 
-iD8DBQFFAxn2t2vP6XvVdOcRAnbRAKDG+lw05bL0voarYBZs2e5D7aQSdgCgq0sV
-RRItf9K0nrsxRJwWvQsQK+w=
-=aRe0
+iD8DBQFFWPGFt2vP6XvVdOcRAm9JAKDGrPUU6NTCz/TwlWIJYtzxidMfFACgpyeO
+8uDU5tFBQg2sbxodiiimGzw=
+=WfF6
 -----END PGP SIGNATURE-----
index 8b137891791fe96927ad78e64b0aad7bded08bdc..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1 +0,0 @@
-
index 6e36120105d9c1998d0082daaf73efda52b00bee..f91c58c52ee8a004222c98353f1775e4dff53902 100644 (file)
@@ -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)#' \