void-packages/srcpkgs/f2fs-tools/template

25 lines
833 B
Bash

# Template file for 'f2fs-tools'
pkgname=f2fs-tools
version=1.9.0
revision=1
build_style=gnu-configure
configure_args="--sbindir=/usr/bin --disable-static ac_cv_file__git=yes"
make_install_args="sbindir=/usr/bin"
hostmakedepends="automake libtool pkg-config git"
makedepends="libuuid-devel"
short_desc="Tools for the Linux Flash-Friendly File System (F2FS)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
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=77217562ae7011a6d81b7b3c43c42623db1796a57596408d6c8037def70d6cc7
pre_configure() {
case "$XBPS_TARGET_MACHINE" in
*-musl)
mkdir -p include/sys
cp ${FILESDIR}/queue.h include/sys
esac
autoreconf -fi
}