mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-22 22:12:35 +01:00
49 lines
1.2 KiB
Plaintext
49 lines
1.2 KiB
Plaintext
# Contributor: Hal Martin <hal.martin@gmail.com>
|
|
# Maintainer: Hal Martin <hal.martin@gmail.com>
|
|
pkgname=mstflint
|
|
_pkgver=4.26.0-1
|
|
pkgver=${_pkgver/-/.}
|
|
pkgrel=0
|
|
pkgdesc="MSTFLINT Firmware Burning and Diagnostics Tools"
|
|
url="https://github.com/Mellanox/mstflint"
|
|
license="GPL-2.0-only"
|
|
# only tested on x86_64 as I lack hardware to test other architectures
|
|
# should work for platforms with PCIe and PCIe x4/x8 slot
|
|
arch="x86_64 aarch64"
|
|
makedepends="
|
|
linux-headers
|
|
zlib-dev
|
|
openssl-dev
|
|
automake
|
|
autoconf
|
|
pciutils-dev"
|
|
|
|
source="https://github.com/Mellanox/mstflint/releases/download/v$_pkgver/mstflint-$_pkgver.tar.gz
|
|
0001-fix-musl.patch
|
|
"
|
|
builddir="$srcdir/$pkgname-${_pkgver/-*/}"
|
|
|
|
subpackages="$pkgname-doc"
|
|
|
|
build() {
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var \
|
|
--disable-inband
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
|
|
sha512sums="
|
|
6ba357f5ed3a8c5ac4195b7b45c5abad3eb95d549f5bd2cc8ae84dee7dab894c47839a3ce3aec04bdaa4942ca953bb148a68cf72c2e9d4e60e090595c96c163e mstflint-4.26.0-1.tar.gz
|
|
0e2b8c69570e9aa5a3815915f6c66e0b0a5f9498c4bea0df5e29d654d436d33bb7bb7fe54405cc883c38077bbea3e1cffb9ee28e9af03dec510c3c36acbecd57 0001-fix-musl.patch
|
|
"
|