void-packages/srcpkgs/f3/template
2018-07-29 02:20:11 -04:00

24 lines
673 B
Bash

# Template file for 'f3'
pkgname=f3
version=7.1
revision=1
build_style=gnu-makefile
make_build_target="all extra"
make_install_target="install install-extra"
makedepends="eudev-libudev-devel libparted-devel"
short_desc="Test real flash memory capacity"
maintainer="bra1nwave <brainwave@openmailbox.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/AltraMayor/f3"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=1d9edf12d3f40c03a552dfc3ed36371c62933b9213483182f7a561e1a5b8e1cc
case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" argp-standalone"
LDFLAGS=" -largp"
;;
esac
post_extract() {
sed -i 's/^\(CFLAGS *+=\)/override \1/' Makefile
}