1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 19:55:26 +03:00
aports/testing/rdma-core/APKBUILD
2023-01-01 14:11:55 +01:00

39 lines
1.1 KiB
Text

# Contributor: psykose <alice@ayaya.dev>
# Maintainer: psykose <alice@ayaya.dev>
pkgname=rdma-core
pkgver=44.0
pkgrel=0
pkgdesc="RDMA core userspace libraries and daemons"
url="https://github.com/linux-rdma/rdma-core"
license="GPL-2.0-only OR BSD-2-Clause"
arch="all !s390x !riscv64" # rv64 textrels, s390x ftbfs
options="!check" # tests are for installation
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="
cmake
eudev-dev
libdrm-dev
libnl3-dev
py3-docutils
samurai
"
subpackages="$pkgname-libs $pkgname-dev $pkgname-doc $pkgname-openrc"
source="https://github.com/linux-rdma/rdma-core/releases/download/v$pkgver/rdma-core-$pkgver.tar.gz"
build() {
cmake -B build -G Ninja \
-DCMAKE_INSTALL_SYSCONFDIR=/etc \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
rm -rf "$pkgdir"/usr/lib/systemd
}
sha512sums="
f31c63aee415fb4aa721fdec2e4d9fb2bef964b1bea93f0170d30fb03b1e798cb11d46bb123db4b2a5002dec17ec16dc6e6aeaebe9f84517bf538dd114726ae1 rdma-core-44.0.tar.gz
"