* add aws-crt-cpp
This commit is contained in:
parent
0b57707569
commit
a61fdd42c4
28
aws-crt-cpp/.SRCINFO
Normal file
28
aws-crt-cpp/.SRCINFO
Normal file
@ -0,0 +1,28 @@
|
||||
pkgbase = aws-crt-cpp
|
||||
pkgdesc = C++ wrapper around the aws-c-* libraries. Provides Cross-Platform Transport Protocols and SSL/TLS implementations for C++.
|
||||
pkgver = 0.30.1
|
||||
pkgrel = 1
|
||||
url = https://github.com/awslabs/aws-crt-cpp
|
||||
arch = x86_64
|
||||
arch = powerpc64le
|
||||
arch = powerpc64
|
||||
arch = powerpc
|
||||
arch = riscv64
|
||||
license = Apache-2.0
|
||||
makedepends = cmake
|
||||
depends = aws-c-auth
|
||||
depends = aws-c-cal
|
||||
depends = aws-c-common
|
||||
depends = aws-c-event-stream
|
||||
depends = aws-c-http
|
||||
depends = aws-c-io
|
||||
depends = aws-c-mqtt
|
||||
depends = aws-c-s3
|
||||
depends = aws-c-sdkutils
|
||||
depends = aws-checksums
|
||||
depends = gcc-libs
|
||||
depends = glibc
|
||||
source = aws-crt-cpp-0.30.1.tar.gz::https://github.com/awslabs/aws-crt-cpp/archive/v0.30.1.tar.gz
|
||||
sha256sums = c83f9915333b6052f5a5ad1920405a5922a3fbf4732021f98dabc240cc1037d0
|
||||
|
||||
pkgname = aws-crt-cpp
|
4
aws-crt-cpp/.nvchecker.toml
Normal file
4
aws-crt-cpp/.nvchecker.toml
Normal file
@ -0,0 +1,4 @@
|
||||
[aws-crt-cpp]
|
||||
source = "git"
|
||||
git = "https://github.com/awslabs/aws-crt-cpp.git"
|
||||
prefix = "v"
|
49
aws-crt-cpp/PKGBUILD
Normal file
49
aws-crt-cpp/PKGBUILD
Normal file
@ -0,0 +1,49 @@
|
||||
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
||||
# Maintainer: Anatol Pomozov
|
||||
# Maintainer: Carl Smedstad <carsme@archlinux.org>
|
||||
|
||||
pkgname=aws-crt-cpp
|
||||
pkgver=0.30.1
|
||||
pkgrel=1
|
||||
pkgdesc='C++ wrapper around the aws-c-* libraries. Provides Cross-Platform Transport Protocols and SSL/TLS implementations for C++.'
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
url='https://github.com/awslabs/aws-crt-cpp'
|
||||
license=(Apache-2.0)
|
||||
depends=(
|
||||
aws-c-auth
|
||||
aws-c-cal
|
||||
aws-c-common
|
||||
aws-c-event-stream
|
||||
aws-c-http
|
||||
aws-c-io
|
||||
aws-c-mqtt
|
||||
aws-c-s3
|
||||
aws-c-sdkutils
|
||||
aws-checksums
|
||||
gcc-libs
|
||||
glibc
|
||||
)
|
||||
makedepends=(cmake)
|
||||
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
|
||||
sha256sums=('c83f9915333b6052f5a5ad1920405a5922a3fbf4732021f98dabc240cc1037d0')
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
cmake -S . -B build \
|
||||
-DCMAKE_BUILD_TYPE=None \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-Wno-dev \
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
-DBUILD_DEPS=OFF
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
check() {
|
||||
cd $pkgname-$pkgver
|
||||
cmake --build build --target test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user