From 6b6297064601966dae0a80aa331b2113339b4a46 Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel Date: Tue, 7 Oct 2008 11:48:29 +0000 Subject: Add basic ebuilds. svn path=/overlay/; revision=2984 --- .../ec2-ami-tools/ec2-ami-tools-1.3.21885.ebuild | 38 ++++++++++++++++++++++ .../ec2-api-tools/ec2-api-tools-1.3.24159.ebuild | 36 ++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 sys-cluster/ec2-ami-tools/ec2-ami-tools-1.3.21885.ebuild create mode 100644 sys-cluster/ec2-api-tools/ec2-api-tools-1.3.24159.ebuild 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 new file mode 100644 index 0000000..962a87a --- /dev/null +++ b/sys-cluster/ec2-ami-tools/ec2-ami-tools-1.3.21885.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: Exp $ + +inherit eutils + +PKG=${PN}-1.3-21885 + +DESCRIPTION="Amazon EC2 AMI Tools" +SRC_URI="http://s3.amazonaws.com/ec2-downloads/${PKG}.zip" +HOMEPAGE="http://developer.amazonwebservices.com" +KEYWORDS="x86 amd64" +SLOT="0" +LICENSE="commercial" +IUSE="" + +S=${WORKDIR}/${PKG} +DEPEND="app-arch/unzip" +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 +} 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 new file mode 100644 index 0000000..5cc453e --- /dev/null +++ b/sys-cluster/ec2-api-tools/ec2-api-tools-1.3.24159.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: Exp $ + +inherit eutils + +PKG=${PN}-1.3-24159 + +DESCRIPTION="Amazon EC2 API Tools" +SRC_URI="http://s3.amazonaws.com/ec2-downloads/${PKG}.zip" +HOMEPAGE="http://developer.amazonwebservices.com" +KEYWORDS="x86 amd64" +SLOT="0" +LICENSE="commercial" +IUSE="" + +S=${WORKDIR}/${PKG} +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 +} -- cgit v1.2.3-65-gdbad