mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-19 23:02:19 +01:00
51 lines
1.0 KiB
Plaintext
51 lines
1.0 KiB
Plaintext
# Contributor: Duncan Bellamy <dunk@denkimushi.com>
|
|
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
|
|
pkgname=spdk
|
|
pkgver=22.01.1
|
|
pkgrel=0
|
|
pkgdesc="Storage Performance Development Kit"
|
|
url="https://spdk.io/"
|
|
# only supports 64bit
|
|
arch="aarch64 ppc64le x86_64"
|
|
license="BSD-3-Clause"
|
|
# test script has bad array subscript
|
|
options="!check"
|
|
makedepends="
|
|
bash
|
|
clang
|
|
coreutils
|
|
cunit-dev
|
|
dpdk-dev
|
|
libaio-dev
|
|
llvm
|
|
ncurses-dev
|
|
openssl3-dev
|
|
pmdk-dev
|
|
python3
|
|
util-linux-dev
|
|
"
|
|
subpackages="$pkgname-static $pkgname-dev"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/spdk/spdk/archive/v$pkgver.tar.gz"
|
|
|
|
build() {
|
|
case "$CARCH" in
|
|
x86_64) export CC=clang export CXX=clang++ ;;
|
|
esac
|
|
# this is not a GNU autoconf script
|
|
./configure \
|
|
--prefix=/usr \
|
|
--with-shared \
|
|
--with-dpdk \
|
|
--with-pmdk \
|
|
--without-isal
|
|
make
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" make install
|
|
}
|
|
|
|
sha512sums="
|
|
62874510e9b8b8c31ebd8f0decac115015ac0d7ab7b79c761bd6852d341ba8d107074fa45a9aaefee89e36b699219d4bf2ce1ce908e916496406ebcec2b831a9 spdk-22.01.1.tar.gz
|
|
"
|