Add aws cli

Close: #258
This commit is contained in:
2023-02-07 16:26:13 +01:00
parent dfeae47ae7
commit f2fef41a37
3 changed files with 38 additions and 0 deletions

25
Tools/awscli/build Executable file
View File

@@ -0,0 +1,25 @@
#!/usr/bin/env modbuild
# download url actually not used, but the build script fails without it
pbuild::set_download_url "https://github.com/aws/aws-cli/archive/refs/tags/$V.tar.gz"
# pbuild::set_sha256sum 'gnuplot-5.2.4.tar.gz:1515f000bd373aaa53b16183f274189d4f5e0ae47d22f434857933d16a4770cb'
# pbuild::install_docfiles 'Copyright' 'NEWS' 'README'
pbuild::add_to_group 'Tools'
pbuild::configure() {
:
}
pbuild::compile() {
:
}
pbuild::install() {
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-$V.zip" -o "awscliv2.zip"
unzip awscliv2.zip
./aws/install -i $PREFIX -b ${PREFIX}/bin --update
}
# Local Variables:
# mode: sh
# sh-basic-offset: 8
# tab-width: 8
# End:

View File

@@ -0,0 +1 @@
awscli/2.9.21 unstable

12
Tools/awscli/modulefile Normal file
View File

@@ -0,0 +1,12 @@
#%Pmodule
module-whatis "Universal Command Line Interface for Amazon Web Services"
module-url "https://github.com/aws/aws-cli/tree/v2"
module-license "https://github.com/aws/aws-cli/blob/v2/LICENSE.txt"
module-maintainer "Krisztian Pozsa <krisztian.pozsa@psi.ch>"
module-help "
The AWS Command Line Interface (AWS CLI) is a unified tool to manage your
AWS services. With just one tool to download and configure, you can control
multiple AWS services from the command line and automate them through scripts.
"