diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-admin/ec2-ami-tools |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-admin/ec2-ami-tools')
-rw-r--r-- | app-admin/ec2-ami-tools/Manifest | 5 | ||||
-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, 64 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..70874348acc5 --- /dev/null +++ b/app-admin/ec2-ami-tools/Manifest @@ -0,0 +1,5 @@ +DIST ec2-ami-tools-1.5.7.zip 156611 SHA256 5a45d9f393d2e144124d23d2312b3a8918c5a3f7463b48d55f8db3d56a3fb29f SHA512 2754ded47cbe842f58e12207c4bb7f81c8cd366dc506cbadfa9bda74d91fd5f8e1cafbb117612b14833368ff5943c4943a072d1679f23f591c15f2f49b61b4c2 WHIRLPOOL d88c0259683d7823fd911e357e2b13516cb845972e728a2ae93d29741be3cfa49a1604cfea47f815c5d104bdd71b6c162a26224b3c632d4836976a56d1b640e4 +EBUILD ec2-ami-tools-1.5.7.ebuild 1178 SHA256 72479f8735b751c3bf03855307e446d58e52bdb787fad48c7ff30e0a38abc635 SHA512 d42d67da311a4fadfbf0cd3e509faa413f1b4c112ec599a57f6cb7cc3e64edd432bacf62b9510cdfbffb40aab5577e2991e1d398ab6ae599c8abb6692b173b6d WHIRLPOOL e7f3edcd591667ddb122bf6214f59d0bf54bd87d8f7db1e6beb09dd297907fb6cd1130593acc01c8f7943fe785e4d31a3c77575d4dea2134bb33ec7d85400ff0 +MISC ChangeLog 2765 SHA256 b6565bfeef9600faf6950a6b3a80decb2226924f652ea8d9eecee1868044b3f2 SHA512 315b45e701b57cc5c92c10fa032c1df3464ff065c09db88121458e6196a8a3c4f5936814ffe77eb12dd15449c8584abea675d1c50eca116b1b8a94aef3a5b27f WHIRLPOOL f975b72060363df270a589fb3c2825e779062746a8fc4d1945ddc7744a3eb480279d09c4454fa71a45bdf0231dd874d2d3e49019f82827ec5bb1efd6027e6e6d +MISC ChangeLog-2015 4271 SHA256 f8d9388a1d7d3d626edcbab2e9c754c2a77a6470f508d5bf0e2af3b9d2327f83 SHA512 b77748cc2b5b3863d7f92163115363e1efe0e68a7d622a6bd9b5b89151bcad4f8d5dc0c583c77e9ef884c0b9fa7be20a443a2b67d45ae280b395e0f312cd7a98 WHIRLPOOL ff374258c45c771519e270e9f13781d8ae08ee96fd3f29bdd615b40c355386e7fccbe04308761f0304a377c3a1e658c094c411449f8ccfc4611ea717acae41b7 +MISC metadata.xml 299 SHA256 553463c80b33af529432b11c8fda758cf02fa9e5b4668687e4df991719a376b8 SHA512 32d0280896d9452574a1ca6ef923aee59cf559e2b9023a4b6986c735bc327df57eb2c73183f5cb660a991e2f41268f0477b24a7e68a81d283fd68c1d2a6ff6a8 WHIRLPOOL 74af766068316cbf1626361cbe9f01dbd98021babe94309c88ae5d5957d6ae3be87cfb5a24baaa8600d6ae8f13acc76f501dd23f83b9b6be57e196aa5b6b8c78 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..d8d78205f46e --- /dev/null +++ b/app-admin/ec2-ami-tools/ec2-ami-tools-1.5.7.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +USE_RUBY="ruby22 ruby23" + +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> |