diff options
author | Fabio Erculiani <lxnay@gentoo.org> | 2011-12-14 13:50:24 +0000 |
---|---|---|
committer | Fabio Erculiani <lxnay@gentoo.org> | 2011-12-14 13:50:24 +0000 |
commit | 6327953ae2a2ae60b2da3e6d754f6ec43b9f0a45 (patch) | |
tree | 33958293e2e41ef604e5a702a1dd73a2e5916a25 /app-admin/ec2-ami-tools | |
parent | Remove Emacs-23-CEDET-grammars from LICENSE because we distribute the grammar... (diff) | |
download | historical-6327953ae2a2ae60b2da3e6d754f6ec43b9f0a45.tar.gz historical-6327953ae2a2ae60b2da3e6d754f6ec43b9f0a45.tar.bz2 historical-6327953ae2a2ae60b2da3e6d754f6ec43b9f0a45.zip |
version bump
Package-Manager: portage-2.2.0_alpha78/cvs/Linux x86_64
Diffstat (limited to 'app-admin/ec2-ami-tools')
-rw-r--r-- | app-admin/ec2-ami-tools/ChangeLog | 10 | ||||
-rw-r--r-- | app-admin/ec2-ami-tools/ec2-ami-tools-1.4.0.2.ebuild | 52 |
2 files changed, 60 insertions, 2 deletions
diff --git a/app-admin/ec2-ami-tools/ChangeLog b/app-admin/ec2-ami-tools/ChangeLog index a16ff7f5cb5e..1737c86b7f39 100644 --- a/app-admin/ec2-ami-tools/ChangeLog +++ b/app-admin/ec2-ami-tools/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-admin/ec2-ami-tools -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/ec2-ami-tools/ChangeLog,v 1.8 2010/11/18 16:10:04 flameeyes Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/ec2-ami-tools/ChangeLog,v 1.9 2011/12/14 13:50:24 lxnay Exp $ + +*ec2-ami-tools-1.4.0.2 (14 Dec 2011) + + 14 Dec 2011; Fabio Erculiani <lxnay@gentoo.org> + +ec2-ami-tools-1.4.0.2.ebuild: + version bump 18 Nov 2010; Diego E. Pettenò <flameeyes@gentoo.org> ec2-ami-tools-1.3.57676-r1.ebuild: diff --git a/app-admin/ec2-ami-tools/ec2-ami-tools-1.4.0.2.ebuild b/app-admin/ec2-ami-tools/ec2-ami-tools-1.4.0.2.ebuild new file mode 100644 index 000000000000..f1e80a294a88 --- /dev/null +++ b/app-admin/ec2-ami-tools/ec2-ami-tools-1.4.0.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/ec2-ami-tools/ec2-ami-tools-1.4.0.2.ebuild,v 1.1 2011/12/14 13:50:24 lxnay Exp $ + +EAPI=2 + +inherit versionator + +DESCRIPTION="These command-line tools serve as the client interface to the Amazon EC2 web service." +HOMEPAGE="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=368&categoryID=88" +SRC_URI="http://s3.amazonaws.com/ec2-downloads/${P}.zip" + +LICENSE="Amazon" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +DEPEND="app-arch/unzip" +RDEPEND="dev-lang/ruby:1.8[ssl] + net-misc/rsync + net-misc/curl" + +S="${WORKDIR}/${P}" + +src_prepare() { + find . -name '*.cmd' -delete || die + + # simplify the scripts to always run ruby18, since that seems to + # be what upstream has been using, and we support alternative + # implementations as well. + sed -i -e '$s:^ruby:exec ruby18:' bin/* || die +} + +src_install() { + insinto /opt/${PN} + doins -r lib bin etc || die + + chmod 0755 "${D}/opt/${PN}/bin/"* + + dodir /etc/env.d + cat - > "${T}"/99${PN} <<EOF +EC2_AMITOOL_HOME=/opt/${PN} +PATH=/opt/${PN}/bin +ROOTPATH=/opt/${PN}/bin +EOF + doenvd "${T}"/99${PN} +} + +pkg_postinst() { + ewarn "Remember to run: env-update && source /etc/profile if you plan" + ewarn "to use these tools in a shell before logging out (or restarting" + ewarn "your login manager)" +} |