diff --git a/aws-c-io/.SRCINFO b/aws-c-io/.SRCINFO new file mode 100644 index 0000000000..e54e6a1f36 --- /dev/null +++ b/aws-c-io/.SRCINFO @@ -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 diff --git a/aws-c-io/.nvchecker.toml b/aws-c-io/.nvchecker.toml new file mode 100644 index 0000000000..e4197aae52 --- /dev/null +++ b/aws-c-io/.nvchecker.toml @@ -0,0 +1,4 @@ +[aws-c-io] +source = "git" +git = "https://github.com/awslabs/aws-c-io.git" +prefix = "v" diff --git a/aws-c-io/PKGBUILD b/aws-c-io/PKGBUILD new file mode 100644 index 0000000000..81a07ddf24 --- /dev/null +++ b/aws-c-io/PKGBUILD @@ -0,0 +1,40 @@ +# POWER Maintainer: Alexander Baldeck +# Maintainer: Anatol Pomozov +# Maintainer: Carl Smedstad + +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 +}