summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@gentoo.org>2008-10-07 12:31:46 +0000
committerGunnar Wrobel <wrobel@gentoo.org>2008-10-07 12:31:46 +0000
commite6fd9833c0c9ed3dcfcbc575059cac2241ae8bd9 (patch)
tree21e64b8f7b37cb465f6373132335564aa87c88cd
parentAdd basic ebuilds. (diff)
downloadkolab-e6fd9833c0c9ed3dcfcbc575059cac2241ae8bd9.tar.gz
kolab-e6fd9833c0c9ed3dcfcbc575059cac2241ae8bd9.tar.bz2
kolab-e6fd9833c0c9ed3dcfcbc575059cac2241ae8bd9.zip
Added ec2-api-tools.
svn path=/overlay/; revision=2985
-rw-r--r--sys-cluster/ec2-api-tools/ChangeLog7
-rw-r--r--sys-cluster/ec2-api-tools/Manifest4
-rw-r--r--sys-cluster/ec2-api-tools/ec2-api-tools-1.3.24159.ebuild42
-rw-r--r--sys-cluster/ec2-api-tools/metadata.xml8
4 files changed, 39 insertions, 22 deletions
diff --git a/sys-cluster/ec2-api-tools/ChangeLog b/sys-cluster/ec2-api-tools/ChangeLog
new file mode 100644
index 0000000..29714be
--- /dev/null
+++ b/sys-cluster/ec2-api-tools/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for sys-cluster/ec2-api-tools
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 07 Oct 2008; Gunnar Wrobel <wrobel@gentoo.org> +metadata.xml:
+ Added ec2-api-tools.
+
diff --git a/sys-cluster/ec2-api-tools/Manifest b/sys-cluster/ec2-api-tools/Manifest
new file mode 100644
index 0000000..ddc5f8c
--- /dev/null
+++ b/sys-cluster/ec2-api-tools/Manifest
@@ -0,0 +1,4 @@
+DIST ec2-api-tools-1.3-24159.zip 7557713 RMD160 703e127c9ac8f0eb37024f76ac52efb40c636b2c SHA1 b1d449d3666941cc64db90d12282a1baaea9a265 SHA256 c6135fac4480af61cb9fbb23728af16d5d8f412ab8e2835cdde6500e9f69aad7
+EBUILD ec2-api-tools-1.3.24159.ebuild 817 RMD160 50db6188c62ce6fcae257f9a86028f662c25bde7 SHA1 ad36b69b2a636ef9f823326e3a49f2111b28d50c SHA256 b694cc6755155cf1f3c705f3f32d2a3c47201fb72bcded6ba568d6613281df9c
+MISC ChangeLog 214 RMD160 154c244c46354c879fb0c1442ccdfbf698edf195 SHA1 c55c7512920ac2b609ffa6640a3c389531d41cee SHA256 42b0dc2a18698fad276dfe0bf4174df0170971358b04c753ba69f7e5e7915408
+MISC metadata.xml 255 RMD160 00d1bf05efc8050697b679c64d4992fae7bf6145 SHA1 5988787daa740dee18325bf78b25c044877e25a2 SHA256 1d7904c945fbe3d9946d23bcd9f1b00ac8c94700c9121955d71a0301016cb968
diff --git a/sys-cluster/ec2-api-tools/ec2-api-tools-1.3.24159.ebuild b/sys-cluster/ec2-api-tools/ec2-api-tools-1.3.24159.ebuild
index 5cc453e..b9aa958 100644
--- a/sys-cluster/ec2-api-tools/ec2-api-tools-1.3.24159.ebuild
+++ b/sys-cluster/ec2-api-tools/ec2-api-tools-1.3.24159.ebuild
@@ -2,35 +2,33 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: Exp $
-inherit eutils
+inherit eutils versionator
-PKG=${PN}-1.3-24159
+MY_PV=$(replace_version_separator 2 '-')
-DESCRIPTION="Amazon EC2 API Tools"
-SRC_URI="http://s3.amazonaws.com/ec2-downloads/${PKG}.zip"
-HOMEPAGE="http://developer.amazonwebservices.com"
-KEYWORDS="x86 amd64"
+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/${PN}-${MY_PV}.zip"
+KEYWORDS="~x86 ~amd64"
SLOT="0"
-LICENSE="commercial"
+LICENSE="as-is"
IUSE=""
-S=${WORKDIR}/${PKG}
+S=${WORKDIR}/${PN}-${MY_PV}
DEPEND="app-arch/unzip"
RDEPEND=">=virtual/jre-1.5"
src_install () {
- rm -rf ${S}/bin/*.cmd
- 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
- dodir /etc/env.d
- echo "EC2_HOME=/opt/${P}" > ${D}/etc/env.d/99ec2-api-tools
+ dodir /opt/${PN}
+
+ insinto /opt/${PN}/lib
+ doins -r lib/*
+
+ exeinto /opt/${PN}/bin
+ doexe bin/*
+ rm -rf ${D}/opt/${PN}/bin/*.cmd
+
+ dodir /etc/env.d
+ echo "PATH=/opt/${PN}/bin" > ${D}/etc/env.d/99${PN}
+ echo "EC2_HOME=/opt/${PN}" >> ${D}/etc/env.d/99${PN}
}
diff --git a/sys-cluster/ec2-api-tools/metadata.xml b/sys-cluster/ec2-api-tools/metadata.xml
new file mode 100644
index 0000000..e25a412
--- /dev/null
+++ b/sys-cluster/ec2-api-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>
+ <maintainer>
+ <email>wrobel@gentoo.org</email>
+ <name>Gunnar Wrobel</name>
+ </maintainer>
+</pkgmetadata>