void-packages/srcpkgs/f2fs-tools/template
2019-10-06 00:39:17 +02:00

23 lines
829 B
Bash

# Template file for 'f2fs-tools'
pkgname=f2fs-tools
version=1.13.0
revision=1
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="Enno Boland <gottox@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=b39d3ae9224267aab0070b5f17d91d0c5143f6d960166a27f6b11c8c87072c7d
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
}