summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-block/tw_cli/ChangeLog6
-rw-r--r--sys-block/tw_cli/tw_cli-9.4.2.ebuild12
-rw-r--r--sys-block/tw_cli/tw_cli-9.5.0.ebuild11
3 files changed, 16 insertions, 13 deletions
diff --git a/sys-block/tw_cli/ChangeLog b/sys-block/tw_cli/ChangeLog
index 129f682a2c64..3452712bd1e6 100644
--- a/sys-block/tw_cli/ChangeLog
+++ b/sys-block/tw_cli/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-block/tw_cli
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/tw_cli/ChangeLog,v 1.22 2008/02/26 20:03:40 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/tw_cli/ChangeLog,v 1.23 2008/02/27 00:39:51 robbat2 Exp $
+
+ 27 Feb 2008; Robin H. Johnson <robbat2@gentoo.org> tw_cli-9.4.2.ebuild,
+ tw_cli-9.5.0.ebuild:
+ Upstream distfiles changed layout slightly, adjust ebuilds to match.
*tw_cli-9.5.0 (26 Feb 2008)
*tw_cli-9.4.2 (26 Feb 2008)
diff --git a/sys-block/tw_cli/tw_cli-9.4.2.ebuild b/sys-block/tw_cli/tw_cli-9.4.2.ebuild
index f66b5d88832e..567e442923e1 100644
--- a/sys-block/tw_cli/tw_cli-9.4.2.ebuild
+++ b/sys-block/tw_cli/tw_cli-9.4.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/tw_cli/tw_cli-9.4.2.ebuild,v 1.1 2008/02/26 20:03:40 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/tw_cli/tw_cli-9.4.2.ebuild,v 1.2 2008/02/27 00:39:51 robbat2 Exp $
DESCRIPTION="3ware SATA+PATA RAID controller Command Line Interface tool"
HOMEPAGE="http://www.3ware.com/kb/article.aspx?id=14847"
@@ -24,12 +24,12 @@ MY_P="${PN}-linux-${ARCH/amd64/x86_64}-${PV}"
HW_VARIANT="Escalade9650SE-Series" # for versions 9.4.0*
# package has different tarballs for x86 and amd64
SRC_URI_BASE="http://www.3ware.com/download/${HW_VARIANT}/${PV}"
-SRC_URI_x86="${SRC_URI_BASE}/${PN}-linux-x86-${PV}.tgz"
-SRC_URI_amd64="${SRC_URI_BASE}/${PN}-linux-x86_64-${PV}.tgz"
-SRC_URI="x86? ( ${SRC_URI_x86} )
- amd64? ( ${SRC_URI_amd64} )"
+SRC_URI=""
+for i in x86 amd64 ; do
+ SRC_URI="${SRC_URI} ${i}? ( ${SRC_URI_BASE}/${PN}-linux-${i/amd64/x86_64}-${PV}.tgz )"
+done
LICENSE_URL="http://www.3ware.com/support/windows_agree.asp?path=/download/${HW_VARIANT}/${PV}/${MY_P}.tgz"
-S="${WORKDIR}"
+S="${WORKDIR}/${PN}-linux-${ARCH/amd64/x86_64}-${PV}"
src_unpack() {
unpack ${MY_P}.tgz
diff --git a/sys-block/tw_cli/tw_cli-9.5.0.ebuild b/sys-block/tw_cli/tw_cli-9.5.0.ebuild
index c76fe1ed8122..fac61f24f07b 100644
--- a/sys-block/tw_cli/tw_cli-9.5.0.ebuild
+++ b/sys-block/tw_cli/tw_cli-9.5.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/tw_cli/tw_cli-9.5.0.ebuild,v 1.1 2008/02/26 20:03:40 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/tw_cli/tw_cli-9.5.0.ebuild,v 1.2 2008/02/27 00:39:51 robbat2 Exp $
DESCRIPTION="3ware SATA+PATA RAID controller Command Line Interface tool"
HOMEPAGE="http://www.3ware.com/kb/article.aspx?id=14847"
@@ -25,12 +25,11 @@ MY_P="${PN}-linux-${ARCH/amd64/x86_64}-${PV}"
HW_VARIANT="Escalade9690SA-Series" # for versions 9.5.0*
# package has different tarballs for x86 and amd64
SRC_URI_BASE="http://www.3ware.com/download/${HW_VARIANT}/${PV}"
-SRC_URI_x86="${SRC_URI_BASE}/${PN}-linux-x86-${PV}.tgz"
-SRC_URI_amd64="${SRC_URI_BASE}/${PN}-linux-x86_64-${PV}.tgz"
-SRC_URI="x86? ( ${SRC_URI_x86} )
- amd64? ( ${SRC_URI_amd64} )"
+for i in x86 amd64 ; do
+ SRC_URI="${SRC_URI} ${i}? ( ${SRC_URI_BASE}/${PN}-linux-${i/amd64/x86_64}-${PV}.tgz )"
+done
LICENSE_URL="http://www.3ware.com/support/windows_agree.asp?path=/download/${HW_VARIANT}/${PV}/${MY_P}.tgz"
-S="${WORKDIR}"
+S="${WORKDIR}/${PN}-linux-${ARCH/amd64/x86_64}-${PV}"
src_unpack() {
unpack ${MY_P}.tgz