vp-build/srcpkgs/f2fs-tools/template

24 lines
805 B
Bash

# Template file for 'f2fs-tools'
pkgname=f2fs-tools
version=1.14.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=619263d4e2022152a1472c1d912eaae104f20bd227ce0bb9d41d1d6608094bd1
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
}