void-packages/srcpkgs/f2fs-tools/template

28 lines
866 B
Bash

# Template file for 'f2fs-tools'
pkgname=f2fs-tools
version=1.15.0
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="automake libtool pkg-config"
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=147d471040b44900283ce2c935f1d35d13d7f40008e7cb8fab2b69f54da01a4f
case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" musl-legacy-compat"
esac
pre_configure() {
autoreconf -fi
}
post_install() {
# /usr/bin/sg_write_buffer is provided in sg3_utils
rm ${DESTDIR}/usr/bin/sg_write_buffer
}