void-packages/srcpkgs/f3/template
bra1nwave de53980d3f f3: update to 7.0.
Closes: #10179 [via git-merge-pr]
2017-12-22 19:58:19 +01:00

24 lines
662 B
Bash

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