summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2008-06-23 13:14:03 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2008-06-23 13:14:03 +0000
commited7de457a134e313c50dd68abe5fa75c245f7651 (patch)
tree7304a522fa0c932e5cff0f9c3cf112a9c32412d2
parentwww-apps/davical: New ebuild for bug 195118 - (initial work by Cory Coager <c... (diff)
downloadsunrise-ed7de457a134e313c50dd68abe5fa75c245f7651.tar.gz
sunrise-ed7de457a134e313c50dd68abe5fa75c245f7651.tar.bz2
sunrise-ed7de457a134e313c50dd68abe5fa75c245f7651.zip
media-tv/em28xx-new: Download snapshots directly from upstream, avoid cd ${S} in src_compile
svn path=/sunrise/; revision=6357
-rw-r--r--media-tv/em28xx-new/ChangeLog5
-rw-r--r--media-tv/em28xx-new/Manifest6
-rw-r--r--media-tv/em28xx-new/em28xx-new-0.0.20080614.160257450985987.ebuild (renamed from media-tv/em28xx-new/em28xx-new-0_p20080619.ebuild)9
3 files changed, 13 insertions, 7 deletions
diff --git a/media-tv/em28xx-new/ChangeLog b/media-tv/em28xx-new/ChangeLog
index 20b9a3ae3..fdad224be 100644
--- a/media-tv/em28xx-new/ChangeLog
+++ b/media-tv/em28xx-new/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 23 Jun 2008; Chi-Thanh Christopher Nguyen (chithead)
+ <chithanh@cs.tu-berlin.de> -em28xx-new-0_p20080619.ebuild,
+ +em28xx-new-0.0.20080614.160257450985987.ebuild:
+ Download snapshots directly from upstream, avoid cd ${S} in src_compile
+
23 Jun 2008; Thomas Anderson <gentoofan23@gentoo.org>
em28xx-new-0_p20080619.ebuild:
Revert revision #6351, cd ${S} is really needed
diff --git a/media-tv/em28xx-new/Manifest b/media-tv/em28xx-new/Manifest
index 3adfbf53b..6f12cb5b0 100644
--- a/media-tv/em28xx-new/Manifest
+++ b/media-tv/em28xx-new/Manifest
@@ -1,5 +1,5 @@
-DIST em28xx-new-0_p20080619.tar.gz 432648 RMD160 f85a1a466c40a9fa85b382995317dc84bb8a274e SHA1 789a9f5c09d0fc48cf0576ea116b10ca6372646b SHA256 d25faa9561103c0fe633fb510a120650af76070852f55e90a3436a313620bb18
-EBUILD em28xx-new-0_p20080619.ebuild 1399 RMD160 11fe8457e45fcccb2687cc7464fe50e10a71fedf SHA1 c917c8b90cf9f7e39b71e8f5a19fef45d1558dc8 SHA256 bba7ea898a8c9bb56fea83a1452e0c920c9772254a4ad40a295d0a4e693deba5
+DIST 91c0d8704a03.tar.gz 432648 RMD160 f85a1a466c40a9fa85b382995317dc84bb8a274e SHA1 789a9f5c09d0fc48cf0576ea116b10ca6372646b SHA256 d25faa9561103c0fe633fb510a120650af76070852f55e90a3436a313620bb18
+EBUILD em28xx-new-0.0.20080614.160257450985987.ebuild 1507 RMD160 16e2a51ce575e8cfa7783c4d7508aa7e2bd9c001 SHA1 b4199196bf05c2c2e375d1bb7e85e3070495d1a0 SHA256 c11381c21f150ae7ca9c581a2b5742440f66755809ce3e0bc11039b0ae8205e8
EBUILD em28xx-new-9999.ebuild 1417 RMD160 e09c0156dc4ae4231048bf6c196d699a7a2cdf69 SHA1 bcfc57adcb518386077de981cd191de83f3a4620 SHA256 6b1125450a10ab6b290b1ee665535d4c68fbb892df85ded7e628fc070522ce59
-MISC ChangeLog 763 RMD160 39dfa5cfff71eb65db49040232cff520460b92da SHA1 8d90b57f52c0d2c130fce631e19aa4f8a394f42d SHA256 9cd2623517ecd6138183cda9abd0745bdcdb4d176f31a93f57afaec5e1a3eaf0
+MISC ChangeLog 1005 RMD160 2a2049fe1f92f2c157ca7a92b6cc957da2e5c7f7 SHA1 d090a1a155bbbfaf4ef7af0b43b51c0f500e722e SHA256 829e112b4072370ec504dd86a938d98bf4bab2c13def54a48278fc2623f455dd
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/media-tv/em28xx-new/em28xx-new-0_p20080619.ebuild b/media-tv/em28xx-new/em28xx-new-0.0.20080614.160257450985987.ebuild
index 04213b572..0a3589f17 100644
--- a/media-tv/em28xx-new/em28xx-new-0_p20080619.ebuild
+++ b/media-tv/em28xx-new/em28xx-new-0.0.20080614.160257450985987.ebuild
@@ -2,17 +2,19 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-inherit linux-info linux-mod
+inherit linux-info linux-mod versionator
+
+printf -v EHG_REVISION '%x' "$(get_version_component_range 4)"
DESCRIPTION="next generation em28xx driver including dvb support"
HOMEPAGE="http://mcentral.de/"
-SRC_URI="http://omploader.org/vazFp/${P}.tar.gz"
+SRC_URI="http://mcentral.de/hg/~mrec/${PN}/archive/${EHG_REVISION}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-S=${WORKDIR}/${PN}*
+S=${WORKDIR}/${PN}-${EHG_REVISION}
MODULE_NAMES="cx25843(empia:${S}/cx25843:${S}/cx25843)
drx3973d(empia:${S}/drx3973d:${S}/drx3973d)
@@ -46,7 +48,6 @@ pkg_setup() {
}
src_compile() {
- cd ${S}
set_arch_to_kernel
emake || die "Compiling kernel modules failed"
}