* add aws-c-io

This commit is contained in:
Alexander Baldeck 2025-02-07 11:35:13 +01:00
parent 1bab301178
commit acfc71256d
3 changed files with 64 additions and 0 deletions

20
aws-c-io/.SRCINFO Normal file
View File

@ -0,0 +1,20 @@
pkgbase = aws-c-io
pkgdesc = AWS SDK module to handle all IO and TLS work for application protocols
pkgver = 0.15.4
pkgrel = 1
url = https://github.com/awslabs/aws-c-io
arch = x86_64
arch = powerpc64le
arch = powerpc64
arch = powerpc
arch = riscv64
license = Apache-2.0
makedepends = cmake
depends = aws-c-cal
depends = aws-c-common
depends = glibc
depends = s2n-tls
source = aws-c-io-0.15.4.tar.gz::https://github.com/awslabs/aws-c-io/archive/v0.15.4.tar.gz
sha256sums = e5202033b09df61ffb2a57284a04735ac013296decc107de1c4abd1ce7d5cfda
pkgname = aws-c-io

4
aws-c-io/.nvchecker.toml Normal file
View File

@ -0,0 +1,4 @@
[aws-c-io]
source = "git"
git = "https://github.com/awslabs/aws-c-io.git"
prefix = "v"

40
aws-c-io/PKGBUILD Normal file
View File

@ -0,0 +1,40 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Anatol Pomozov
# Maintainer: Carl Smedstad <carsme@archlinux.org>
pkgname=aws-c-io
pkgver=0.15.4
pkgrel=1
pkgdesc='AWS SDK module to handle all IO and TLS work for application protocols'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url='https://github.com/awslabs/aws-c-io'
license=(Apache-2.0)
depends=(
aws-c-cal
aws-c-common
glibc
s2n-tls
)
makedepends=(cmake)
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('e5202033b09df61ffb2a57284a04735ac013296decc107de1c4abd1ce7d5cfda')
build() {
cd $pkgname-$pkgver
cmake -S . -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-Wno-dev \
-DBUILD_SHARED_LIBS=ON
cmake --build build
}
check() {
cd $pkgname-$pkgver
cmake --build build --target test
}
package() {
cd $pkgname-$pkgver
DESTDIR="$pkgdir" cmake --install build
}