diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-admin/ec2-ami-tools | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-admin/ec2-ami-tools')
-rw-r--r-- | app-admin/ec2-ami-tools/Manifest | 3 | ||||
-rw-r--r-- | app-admin/ec2-ami-tools/ec2-ami-tools-1.5.7.ebuild | 51 | ||||
-rw-r--r-- | app-admin/ec2-ami-tools/metadata.xml | 8 |
3 files changed, 62 insertions, 0 deletions
diff --git a/app-admin/ec2-ami-tools/Manifest b/app-admin/ec2-ami-tools/Manifest new file mode 100644 index 000000000000..04b05e13336b --- /dev/null +++ b/app-admin/ec2-ami-tools/Manifest @@ -0,0 +1,3 @@ +DIST ec2-ami-tools-1.5.7.zip 156611 BLAKE2B f3e4c05a1f25e1d47a6981981b92db551953028f0621e3f175e3ab5db8823d72f56d2145376c52dc6d134ec2a167c14d64997e969785991589f9c97b93277f78 SHA512 2754ded47cbe842f58e12207c4bb7f81c8cd366dc506cbadfa9bda74d91fd5f8e1cafbb117612b14833368ff5943c4943a072d1679f23f591c15f2f49b61b4c2 +EBUILD ec2-ami-tools-1.5.7.ebuild 1185 BLAKE2B f059d766b02cbfd94a8cb3aa02d32a5c214a89a23a15fd8d7443a874c70071d1f3f33251db415b10942d6f7c9e68d02a7f063bd972934cffe4b322abaf4d8319 SHA512 262a8bf922813cdbbcbbf22ba7456ef9e9f3829c73ebd36b2de481014280414612abf00ceb03485ac80d944559426b5c2d2350ab32a59c9856c599f3ea55564f +MISC metadata.xml 299 BLAKE2B 3fb7a374afb6ce5b06c3272f2cb25ef4f05614ed59835b4d28b8e9f97a8027a349779215c26c6bccc1d26ef0413d9b662eddb9ba1e0b7dc6085818994fa72ac6 SHA512 32d0280896d9452574a1ca6ef923aee59cf559e2b9023a4b6986c735bc327df57eb2c73183f5cb660a991e2f41268f0477b24a7e68a81d283fd68c1d2a6ff6a8 diff --git a/app-admin/ec2-ami-tools/ec2-ami-tools-1.5.7.ebuild b/app-admin/ec2-ami-tools/ec2-ami-tools-1.5.7.ebuild new file mode 100644 index 000000000000..5e2638f231a1 --- /dev/null +++ b/app-admin/ec2-ami-tools/ec2-ami-tools-1.5.7.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +USE_RUBY="ruby23 ruby24 ruby25" + +inherit ruby-single versionator + +DESCRIPTION="Command-line tools that serve as client interface to the Amazon EC2 web service" +HOMEPAGE="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=368&categoryID=88" +SRC_URI="http://s3.amazonaws.com/ec2-downloads/${P}.zip" + +LICENSE="Amazon + || ( Ruby GPL-2 )" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="app-arch/unzip" +RDEPEND=" + ${RUBY_DEPS} + virtual/ruby-ssl + net-misc/rsync + net-misc/curl" + +src_prepare() { + # Remove a left behind license file. + rm -f lib/ec2/oem/LICENSE.txt || die 'Removal of LICENSE failed.' + + eapply_user +} + +src_install() { + dobin bin/* + + insinto /usr + doins -r lib + + insinto /etc/ec2/amitools + doins etc/ec2/amitools/* + + dodir /etc/env.d + echo "EC2_AMITOOL_HOME=/usr" >> "${T}"/99${PN} || die "Can't write environment variable." + doenvd "${T}"/99${PN} +} + +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..73ba6fbc9254 --- /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> + <!-- maintainer-needed --> + <longdescription> + These command-line tools serve as the client interface to the Amazon EC2 web service. + </longdescription> +</pkgmetadata> |