diff options
author | Caleb Tennis <caleb@gentoo.org> | 2009-06-02 22:24:32 +0000 |
---|---|---|
committer | Caleb Tennis <caleb@gentoo.org> | 2009-06-02 22:24:32 +0000 |
commit | 532d0f5480c06caa5e8d6f0b1f754d7ff0641dcf (patch) | |
tree | e0d506b71f7cefb2f8cff464aece9f4ed9b272b1 /app-admin | |
parent | remove >=sys-devel/gcc-4.3.0[openmp] dep for USE=openmp, as it was before... (diff) | |
download | gentoo-2-532d0f5480c06caa5e8d6f0b1f754d7ff0641dcf.tar.gz gentoo-2-532d0f5480c06caa5e8d6f0b1f754d7ff0641dcf.tar.bz2 gentoo-2-532d0f5480c06caa5e8d6f0b1f754d7ff0641dcf.zip |
Initial import
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/ec2-ami-tools/ChangeLog | 10 | ||||
-rw-r--r-- | app-admin/ec2-ami-tools/ec2-ami-tools-1.3.34544.ebuild | 55 | ||||
-rw-r--r-- | app-admin/ec2-ami-tools/metadata.xml | 8 |
3 files changed, 73 insertions, 0 deletions
diff --git a/app-admin/ec2-ami-tools/ChangeLog b/app-admin/ec2-ami-tools/ChangeLog new file mode 100644 index 000000000000..b6235e85c870 --- /dev/null +++ b/app-admin/ec2-ami-tools/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-admin/ec2-ami-tools +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/ec2-ami-tools/ChangeLog,v 1.1 2009/06/02 22:24:32 caleb Exp $ + +*ec2-ami-tools-1.3.34544 (02 Jun 2009) + + 02 Jun 2009; Caleb Tennis <caleb@gentoo.org> + +ec2-ami-tools-1.3.34544.ebuild, +metadata.xml: + Initial import + diff --git a/app-admin/ec2-ami-tools/ec2-ami-tools-1.3.34544.ebuild b/app-admin/ec2-ami-tools/ec2-ami-tools-1.3.34544.ebuild new file mode 100644 index 000000000000..24e02e818bb0 --- /dev/null +++ b/app-admin/ec2-ami-tools/ec2-ami-tools-1.3.34544.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2009 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.3.34544.ebuild,v 1.1 2009/06/02 22:24:32 caleb Exp $ + +inherit versionator + +EC2_VERSION=$(get_version_component_range 1-2) +EC2_PATCHLEVEL=$(get_version_component_range 3) + +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=351&categoryID=88" +SRC_URI="http://s3.amazonaws.com/ec2-downloads/${PN}-${EC2_VERSION}-${EC2_PATCHLEVEL}.zip" + +S=${WORKDIR}/${PN}-${EC2_VERSION}-${EC2_PATCHLEVEL} + +LICENSE="Amazon" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +DEPEND="app-arch/unzip" +RDEPEND="dev-lang/ruby + net-misc/rsync + net-misc/curl" + +src_unpack() { + unpack ${A} + cd "${WORKDIR}/${PN}-${EC2_VERSION}-${EC2_PATCHLEVEL}" + find . -name *.cmd -exec rm {} \; +} + +src_install() { + dodir /opt/${P} + insinto /opt/${P}/lib + doins -r "${S}"/lib/* + exeinto /opt/${P}/bin + doexe "${S}"/bin/* + insinto /usr/bin + for exe in "${S}"/bin/*; do + target="$(basename ${exe})" + base="$(basename ${exe})" + ln -s /opt/${P}/bin/${target} "${D}"/usr/bin/${base} + done + + insinto /opt/${P}/etc + doins -r "${S}"/etc/* + + dodir /etc/env.d + echo "EC2_AMITOOL_HOME=/opt/${P}" > ${D}/etc/env.d/99ec2-ami-tools +} + +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)" +} diff --git a/app-admin/ec2-ami-tools/metadata.xml b/app-admin/ec2-ami-tools/metadata.xml new file mode 100644 index 000000000000..9167772c5c2f --- /dev/null +++ b/app-admin/ec2-ami-tools/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>caleb@gentoo.org</email> + </maintainer> +</pkgmetadata> |