void-packages/srcpkgs/f3/template
2021-02-16 02:32:52 -03:00

25 lines
750 B
Bash

# Template file for 'f3'
pkgname=f3
version=7.2
revision=2
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"
changelog="https://raw.githubusercontent.com/AltraMayor/f3/master/changelog"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=ba9210a0fc3a42c2595fe19bf13b8114bb089c4f274b4813c8f525a695467f64
case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" argp-standalone"
LDFLAGS=" -largp"
;;
esac
post_extract() {
sed -i 's/^\(CFLAGS *+=\)/override \1/' Makefile
}