de53980d3f
Closes: #10179 [via git-merge-pr]
24 lines
662 B
Bash
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
|
|
}
|