diff options
author | 2008-10-07 12:50:25 +0000 | |
---|---|---|
committer | 2008-10-07 12:50:25 +0000 | |
commit | ca2f83a84bde5c1d99adab253c8bf096df68f061 (patch) | |
tree | 8c34992468b3f0114ae2fe909542590e72061c6b | |
parent | Added ec2-api-tools. (diff) | |
download | kolab-ca2f83a84bde5c1d99adab253c8bf096df68f061.tar.gz kolab-ca2f83a84bde5c1d99adab253c8bf096df68f061.tar.bz2 kolab-ca2f83a84bde5c1d99adab253c8bf096df68f061.zip |
Added ec2-ami-tools.
svn path=/overlay/; revision=2986
-rw-r--r-- | sys-cluster/ec2-ami-tools/ChangeLog | 8 | ||||
-rw-r--r-- | sys-cluster/ec2-ami-tools/Manifest | 4 | ||||
-rw-r--r-- | sys-cluster/ec2-ami-tools/ec2-ami-tools-1.3.21885.ebuild | 52 | ||||
-rw-r--r-- | sys-cluster/ec2-ami-tools/metadata.xml | 8 |
4 files changed, 48 insertions, 24 deletions
diff --git a/sys-cluster/ec2-ami-tools/ChangeLog b/sys-cluster/ec2-ami-tools/ChangeLog new file mode 100644 index 0000000..a8d9c27 --- /dev/null +++ b/sys-cluster/ec2-ami-tools/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for sys-cluster/ec2-ami-tools +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 07 Oct 2008; Gunnar Wrobel <wrobel@gentoo.org> +metadata.xml, + ec2-ami-tools-1.3.21885.ebuild: + Added ec2-ami-tools. + diff --git a/sys-cluster/ec2-ami-tools/Manifest b/sys-cluster/ec2-ami-tools/Manifest new file mode 100644 index 0000000..f6b71f8 --- /dev/null +++ b/sys-cluster/ec2-ami-tools/Manifest @@ -0,0 +1,4 @@ +DIST ec2-ami-tools-1.3-21885.zip 90468 RMD160 c7cc5d8762bb9b311d59be19fabc8b8f726bf368 SHA1 ca02177620f0e5b5e0ce1e42b7652e2fc7c6f3c2 SHA256 f620798651779455eabd7f69ee3656d101205a16fe68b801fe1b436a8dcf4fc0 +EBUILD ec2-ami-tools-1.3.21885.ebuild 883 RMD160 01ec3232c6d2d814de64c88657fe46e6d4282bfd SHA1 99bb390e28b361b551c97be1f4bc0368cc988e02 SHA256 8dc6397e6dd5388f70b6f99a2efd5f8a26dc773973bf3ba2e2aa84540cf86fc9 +MISC ChangeLog 248 RMD160 f245ac16e8ce40bcb3b2b13260f4ec734b13e1dc SHA1 bb00311bb3694ab08961840683da8cf75e5919c2 SHA256 0b847d50b91f057f70769ea1841cf6df8df9b45bcc0eac72cd8c81aa313015d4 +MISC metadata.xml 255 RMD160 00d1bf05efc8050697b679c64d4992fae7bf6145 SHA1 5988787daa740dee18325bf78b25c044877e25a2 SHA256 1d7904c945fbe3d9946d23bcd9f1b00ac8c94700c9121955d71a0301016cb968 diff --git a/sys-cluster/ec2-ami-tools/ec2-ami-tools-1.3.21885.ebuild b/sys-cluster/ec2-ami-tools/ec2-ami-tools-1.3.21885.ebuild index 962a87a..ff0c3fc 100644 --- a/sys-cluster/ec2-ami-tools/ec2-ami-tools-1.3.21885.ebuild +++ b/sys-cluster/ec2-ami-tools/ec2-ami-tools-1.3.21885.ebuild @@ -2,37 +2,41 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: Exp $ -inherit eutils +inherit eutils versionator -PKG=${PN}-1.3-21885 +MY_PV=$(replace_version_separator 2 '-') DESCRIPTION="Amazon EC2 AMI Tools" -SRC_URI="http://s3.amazonaws.com/ec2-downloads/${PKG}.zip" -HOMEPAGE="http://developer.amazonwebservices.com" -KEYWORDS="x86 amd64" +HOMEPAGE="http://developer.amazonwebservices.com/connect/entry.jspa?entryID=368&ref=featured" +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="dev-lang/ruby net-misc/rsync net-misc/curl" +RDEPEND="dev-lang/ruby + net-misc/rsync + net-misc/curl" 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 - 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 + + dodir /opt/${PN} + + insinto /opt/${PN}/etc + doins -r etc/* + + 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_AMITOOL_HOME=/opt/${PN}" >> ${D}/etc/env.d/99${PN} } diff --git a/sys-cluster/ec2-ami-tools/metadata.xml b/sys-cluster/ec2-ami-tools/metadata.xml new file mode 100644 index 0000000..e25a412 --- /dev/null +++ b/sys-cluster/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> + <maintainer> + <email>wrobel@gentoo.org</email> + <name>Gunnar Wrobel</name> + </maintainer> +</pkgmetadata> |