summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/ec2-api-tools/ec2-api-tools-1.2.6232.ebuild')
-rw-r--r--app-misc/ec2-api-tools/ec2-api-tools-1.2.6232.ebuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/app-misc/ec2-api-tools/ec2-api-tools-1.2.6232.ebuild b/app-misc/ec2-api-tools/ec2-api-tools-1.2.6232.ebuild
new file mode 100644
index 0000000..7423b1c
--- /dev/null
+++ b/app-misc/ec2-api-tools/ec2-api-tools-1.2.6232.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+MY_P=${PN}-1.2-6232
+DESCRIPTION="Amazon EC2 Command Line Tools"
+HOMEPAGE="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=351&categoryID=88"
+SRC_URI="http://s3.amazonaws.com/ec2-downloads/ec2-api-tools.zip"
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=">=virtual/jre-1.5"
+S=${WORKDIR}/${MY_P}
+
+src_install() {
+ cd ${S}
+ insinto /opt/ec2/lib
+ doins lib/*
+ exeinto /opt/ec2/bin
+ doexe bin/*
+
+ dodir /etc/env.d
+ echo "PATH=/opt/ec2/bin" > ${D}/etc/env.d/99ec2
+ echo "EC2_HOME=/opt/ec2" >> ${D}/etc/env.d/99ec2
+} \ No newline at end of file