mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 11:04:10 -04:00
app-admin/awscli-bin: add 2.4.27
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Alexey Zapparov <alexey@zapparov.com>
This commit is contained in:
33
app-admin/awscli-bin/awscli-bin-2.4.27.ebuild
Normal file
33
app-admin/awscli-bin/awscli-bin-2.4.27.ebuild
Normal file
@@ -0,0 +1,33 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Universal Command Line Interface for Amazon Web Services version 2"
|
||||
HOMEPAGE="https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html"
|
||||
SRC_URI="
|
||||
amd64? ( https://awscli.amazonaws.com/awscli-exe-linux-x86_64-${PV}.zip )
|
||||
arm64? ( https://awscli.amazonaws.com/awscli-exe-linux-aarch64-${PV}.zip )
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
|
||||
RDEPEND="!app-admin/awscli"
|
||||
BDEPEND="app-arch/unzip"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
QA_PRESTRIPPED="*"
|
||||
|
||||
S="${WORKDIR}/aws"
|
||||
|
||||
DOCS=( THIRD_PARTY_LICENSES )
|
||||
|
||||
src_install() {
|
||||
./install --install-dir "${D}/opt/awscli" --bin-dir "${D}/usr/bin" \
|
||||
|| die "install failed"
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
Reference in New Issue
Block a user