mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
dev-util/aws-cli-bin: new package, aws-cli v2
Signed-off-by: Wolfgang E. Sanyer <ezzieyguywuf@gmail.com>
This commit is contained in:
26
dev-util/aws-cli-bin/aws-cli-bin-2.2.41.ebuild
Normal file
26
dev-util/aws-cli-bin/aws-cli-bin-2.2.41.ebuild
Normal file
@@ -0,0 +1,26 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MY_PN_BASE="$(ver_cut 1 ${PN})"
|
||||
MY_PN="${MY_PN_BASE}$(ver_cut 2 ${PN})"
|
||||
|
||||
DESCRIPTION="A unified command line interface to Amazon Web Services"
|
||||
HOMEPAGE="https://aws.amazon.com/cli/"
|
||||
SRC_URI="https://awscli.amazonaws.com/${MY_PN}-exe-linux-x86_64-${PV}.zip -> ${P}.zip"
|
||||
|
||||
LICENSE="Apache-2.0 MIT LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="!!app-admin/awscli"
|
||||
BDEPEND="app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}/${MY_PN_BASE}"
|
||||
|
||||
src_install() {
|
||||
local install_dir="${D}/${EPREFIX}/opt/${PN}"
|
||||
|
||||
./install -i ${install_dir} -b "${D}/${EPREFIX}/usr/bin"
|
||||
}
|
||||
Reference in New Issue
Block a user