mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-02 15:21:43 +01:00
39 lines
1.2 KiB
Plaintext
39 lines
1.2 KiB
Plaintext
# Contributor: Oleg Titov <oleg.titov@gmail.com>
|
|
# Maintainer: Oleg Titov <oleg.titov@gmail.com>
|
|
pkgname=iozone
|
|
pkgver=3.494
|
|
_pkgver=${pkgver//./_}
|
|
pkgrel=0
|
|
pkgdesc="IOzone filesystem benchmark."
|
|
url="http://iozone.org"
|
|
arch="all !riscv64"
|
|
license="custom"
|
|
options="!check" # No test suite from upstream
|
|
subpackages="$pkgname-doc"
|
|
source="http://iozone.org/src/current/iozone$_pkgver.tgz
|
|
https://www.iozone.org/docs/Iozone_License.txt
|
|
"
|
|
builddir="$srcdir/${pkgname}$_pkgver/"
|
|
|
|
build() {
|
|
cd "$builddir"/src/current/
|
|
rm -f ./*.o
|
|
make linux CFLAGS="$CFLAGS -DHAVE_ANSIC_C -DHAVE_PREADV -DHAVE_PWRITEV"
|
|
}
|
|
|
|
package() {
|
|
install -m755 -D src/current/iozone \
|
|
"$pkgdir"/usr/bin/iozone
|
|
|
|
install -Dm644 "$srcdir"/Iozone_License.txt \
|
|
"$pkgdir"/usr/share/licenses/$pkgname/Iozone_License.txt
|
|
|
|
install -Dm644 "$builddir"/docs/iozone.1 \
|
|
"$pkgdir"/usr/share/man/man1/iozone.1
|
|
}
|
|
|
|
sha512sums="
|
|
bf887316a80daa1d12b101764143f15b5ef4969c8561498f7d67936adf7cb50dd3f4316b0a3f85fb079a60361bb0851ccb9647b46eb4b67f9da040ee6defaa1a iozone3_494.tgz
|
|
9589952c15cde6701f239b6031996e504fd62f70ef1e63938544ca8ecf7e38b53ff731919e48285a9354080120b74fcdd9d548ada9a719368726e67b536e6fda Iozone_License.txt
|
|
"
|