summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Phillip Brink (binki) <ohnobinki@ohnopublishing.net>2011-07-02 17:43:38 +0000
committerNathan Phillip Brink (binki) <ohnobinki@ohnopublishing.net>2011-07-02 17:43:38 +0000
commitbc8102d60accd7ba23d1263b4de9f7d800dd6899 (patch)
tree211821a9e5a0dc7826208d906b3fd95a9f24f21f /media-tv
parentmedia-tv/otrdecoder-bin: Fix KEYWORDS to include -* for binary package, quote... (diff)
downloadsunrise-bc8102d60accd7ba23d1263b4de9f7d800dd6899.tar.gz
sunrise-bc8102d60accd7ba23d1263b4de9f7d800dd6899.tar.bz2
sunrise-bc8102d60accd7ba23d1263b4de9f7d800dd6899.zip
media-tv/otrdecoder-bin: Use x86? as a condition for i686 binaries instad of \!amd64?, simplify src_unpack() as suggested by tommy[d].
(Portage version: 2.2.0_alpha41-r1/svn/Linux x86_64) svn path=/sunrise/; revision=12193
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/otrdecoder-bin/ChangeLog5
-rw-r--r--media-tv/otrdecoder-bin/otrdecoder-bin-592.ebuild8
2 files changed, 7 insertions, 6 deletions
diff --git a/media-tv/otrdecoder-bin/ChangeLog b/media-tv/otrdecoder-bin/ChangeLog
index 67a57046e..3fe35177d 100644
--- a/media-tv/otrdecoder-bin/ChangeLog
+++ b/media-tv/otrdecoder-bin/ChangeLog
@@ -4,6 +4,11 @@
02 Jul 2011; Nathan Phillip Brink <binki@gentoo.org>
otrdecoder-bin-592.ebuild:
+ Use x86? as a condition for i686 binaries instad of \!amd64?, simplify
+ src_unpack() as suggested by tommy[d].
+
+ 02 Jul 2011; Nathan Phillip Brink <binki@gentoo.org>
+ otrdecoder-bin-592.ebuild:
Fix KEYWORDS to include -* for binary package, quote expansion of ${S},
missing newline at end of file.
diff --git a/media-tv/otrdecoder-bin/otrdecoder-bin-592.ebuild b/media-tv/otrdecoder-bin/otrdecoder-bin-592.ebuild
index 172b25f8d..a107a3fb4 100644
--- a/media-tv/otrdecoder-bin/otrdecoder-bin-592.ebuild
+++ b/media-tv/otrdecoder-bin/otrdecoder-bin-592.ebuild
@@ -7,7 +7,7 @@ EAPI=2
DESCRIPTION="Decoder for onlinetvrecorder.com (German)"
HOMEPAGE="http://www.onlinetvrecorder.com/"
SRC_URI="amd64? ( http://www.onlinetvrecorder.com/downloads/${PN}-linux-Ubuntu_8.04.2-x86_64-0.4.613.tar.bz2 )
- !amd64? ( http://www.onlinetvrecorder.com/downloads/${PN}-linux-Ubuntu_9.04-i686-0.4.${PV}.tar.bz2 )"
+ x86? ( http://www.onlinetvrecorder.com/downloads/${PN}-linux-Ubuntu_9.04-i686-0.4.${PV}.tar.bz2 )"
LICENSE="as-is"
SLOT="0"
@@ -21,11 +21,7 @@ RESTRICT="strip"
src_unpack() {
default
- if use amd64; then
- mv ${PN}-linux-Ubuntu_8.04.2-x86_64-0.4.613 "${S}" || die "move failed"
- else
- mv ${PN}-linux-Ubuntu_9.04-i686-0.4.${PV} "${S}" || die "move failed"
- fi
+ mv ${PN}-linux-Ubuntu_* "${S}" || die
}
src_prepare() {