Merge branch 'awscli' into 'master'

Awscli

Closes #258

See merge request Pmodules/buildblocks!382
This commit is contained in:
2025-05-26 09:58:17 +02:00
3 changed files with 51 additions and 0 deletions

12
Tools/awscli/build Executable file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/env modbuild
pbuild::install() {
unzip "${PMODULES_DISTFILESDIR}/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,27 @@
---
format: 1
awscli:
defaults:
group: Tools
overlay: base
relstage: stable
systems: [.*]
build_functions:
configure: []
compile: []
shasums:
versions:
2.27.22:
config:
relstage: stable
urls:
- url: https://awscli.amazonaws.com/$P-exe-linux-x86_64-$V.zip
name: $P-${V_PKG}.zip
unpacker: none
2.9.21:
config:
relstage: deprecated
urls:
- url: https://awscli.amazonaws.com/$P-exe-linux-x86_64-$V.zip
name: $P-${V_PKG}.zip
unpacker: none

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.
"