void-packages/srcpkgs/f2fs-tools/template

23 lines
826 B
Bash

# Template file for 'f2fs-tools'
pkgname=f2fs-tools
version=1.12.0
revision=2
build_style=gnu-configure
configure_args="--disable-static ac_cv_file__git=yes"
hostmakedepends="automake libtool pkg-config git"
makedepends="libuuid-devel libblkid-devel"
short_desc="Tools for the Linux Flash-Friendly File System (F2FS)"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git"
distfiles="https://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git/snapshot/${pkgname}-${version}.tar.gz"
checksum=e2124e4dffaba865d41495d817bcb924d096adaec67ff777b8c7da99aa13f696
case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" musl-legacy-compat"
esac
pre_configure() {
vsed -i -e '/sg_write_buffer/d' tools/Makefile.am
autoreconf -fi
}