diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /sys-block/tw_cli/tw_cli-9.4.1.2.ebuild | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sys-block/tw_cli/tw_cli-9.4.1.2.ebuild')
-rw-r--r-- | sys-block/tw_cli/tw_cli-9.4.1.2.ebuild | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/sys-block/tw_cli/tw_cli-9.4.1.2.ebuild b/sys-block/tw_cli/tw_cli-9.4.1.2.ebuild new file mode 100644 index 000000000000..105596dd24bc --- /dev/null +++ b/sys-block/tw_cli/tw_cli-9.4.1.2.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +DESCRIPTION="3ware SATA+PATA RAID controller Command Line Interface tool" +HOMEPAGE="https://www.3ware.com/3warekb/article.aspx?id=14847" +LICENSE="3ware" +SLOT="0" +# binary packages +KEYWORDS="-* amd64 x86" +IUSE="" +# stripping seems to break this sometimes +RESTRICT="fetch strip mirror" +# binary packages +DEPEND="" +RDEPEND="" +MY_P="${PN}-linux-${ARCH/amd64/x86_64}-${PV}" +# Upstream actually only releases newer versions for new hardware +# and doesn't release new major versions for old hardware +# however their backwards compatibility is excellent. +# I personally test tw_cli on two cards: 6200 (amd64) and 7006-2 (x86) +# - Robin H. Johnson <robbat2@gentoo.org> - 23 Nov 2006 +#HW_VARIANT="Escalade7000Series" - for versions 9.3.0.* +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} )" +LICENSE_URL="http://www.3ware.com/support/windows_agree.asp?path=/download/${HW_VARIANT}/${PV}/${MY_P}.tgz" +S="${WORKDIR}" + +src_unpack() { + unpack ${MY_P}.tgz +} + +supportedcards() { + elog "This binary supports should support ALL cards, including, but not" + elog "limited to the following series:" + elog "" + elog "PATA: 6xxx, 72xx, 74xx, 78xx, 7000, 7500, 7506" + elog "SATA: 8006, 8500, 8506, 9500S, 9550SX, 9590SE" + elog " 9550SXU, 9650SE, 9650SE-{24M8,4LPME}" + elog "" + elog "Release notes for this version are available at:" + elog "${SRC_URI_BASE}/${PV}_Release_Notes_Web.pdf" +} + +pkg_setup() { + supportedcards +} + +pkg_nofetch() { + einfo "Please agree to the license at URL" + einfo "" + einfo "\t${LICENSE_URL}" + einfo "" + einfo "And then use the following URL to download the" + einfo "correct tarball into ${DISTDIR}" + einfo "" + einfo "x86 - ${SRC_URI_x86}" + einfo "amd64 - ${SRC_URI_amd64}" + 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 +} |