diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2006-09-13 00:13:07 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2006-09-13 00:13:07 +0000 |
commit | 79b052593771e5f45c97228b0be924f70ff12ac1 (patch) | |
tree | 6035cab570ec6de545c0a98e7d0d39ce1295efe6 /sys-block/tw_cli/tw_cli-9.3.0.4.ebuild | |
parent | ew version actually works with FreeBSD and GNU sed. (diff) | |
download | gentoo-2-79b052593771e5f45c97228b0be924f70ff12ac1.tar.gz gentoo-2-79b052593771e5f45c97228b0be924f70ff12ac1.tar.bz2 gentoo-2-79b052593771e5f45c97228b0be924f70ff12ac1.zip |
Upstream broke the download URLs in a site re-arrange, fix em. Also version bump.
(Portage version: 2.1.1)
Diffstat (limited to 'sys-block/tw_cli/tw_cli-9.3.0.4.ebuild')
-rw-r--r-- | sys-block/tw_cli/tw_cli-9.3.0.4.ebuild | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/sys-block/tw_cli/tw_cli-9.3.0.4.ebuild b/sys-block/tw_cli/tw_cli-9.3.0.4.ebuild new file mode 100644 index 000000000000..dde4b3700aba --- /dev/null +++ b/sys-block/tw_cli/tw_cli-9.3.0.4.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2006 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.3.0.4.ebuild,v 1.1 2006/09/13 00:13:07 robbat2 Exp $ + +DESCRIPTION="3ware SATA+PATA RAID controller Command Line Interface tool" +HOMEPAGE="http://www.3ware.com/" +LICENSE="3ware" +SLOT="0" +# binary packages +KEYWORDS="-* ~x86 ~amd64" +IUSE="" +# stripping seems to break this sometimes +RESTRICT="fetch nostrip nomirror" +# binary packages +DEPEND="" +RDEPEND="virtual/libc" +MY_P="${PN}-linux-${ARCH/amd64/x86_64}-${PV}" +# package has different tarballs for x86 and amd64 +SRC_URI_BASE="http://www.3ware.com/download/Escalade7000Series/${PV}" +SRC_URI="x86? ( ${SRC_URI_BASE}/${PN}-linux-x86-${PV}.tgz ) + amd64? ( ${SRC_URI_BASE}/${PN}-linux-x86_64-${PV}.tgz )" +# x86: http://3ware.com/support/download_9.3.0.2.asp?SNO=616 +# amd64: http://3ware.com/support/download_9.3.0.2.asp?SNO=617 +DOWNLOAD_URL="http://www.3ware.com/support/windows_agree.asp?path=/download/Escalade7000Series/${PV}/${MY_P}.tgz" +S="${WORKDIR}" + +src_unpack() { + unpack ${MY_P}.tgz +} + +supportedcards() { + einfo "This binary supports should support ALL cards, including, but not" + einfo "limited to:" + einfo "" + einfo "PATA: 6xxx, 7210, 7410, 7450, 7810, 7850, 7000-2, 7500-4, 7500-8," + einfo " 7500-12, 7006-2, 7506-4, 7506-4LP, 7506-8, 7506-12" + einfo "" + einfo "SATA: 8500-4, 8500-8, 8500-12, 8006-2, 8506-4, 8506-12," + einfo " 8506-8MI, 8506-12MI, 9500S-4LP, 9500S-8, 9500S-12," + einfo " 9500S-8MI, 9500S-12MI" +} + +pkg_setup() { + supportedcards +} + +pkg_nofetch() { + einfo "Please agree to the license at URL" + einfo "" + einfo "\t${DOWNLOAD_URL}" + einfo "" + einfo "And then use the following URL to download the" + einfo "correct tarball into ${DISTDIR}" + einfo "" + einfo "\t${SRC_URI}" + einfo "" + supportedcards +} + +src_install() { + into / + dosbin tw_cli + dosbin tw_sched + insinto /etc + doins tw_sched.cfg + into /usr + newman tw_cli.8.nroff tw_cli.8 + newman tw_sched.8.nroff tw_sched.8 + dohtml *.html +} |