vp-build/srcpkgs/f2fs-tools/template

25 lines
833 B
Bash

# Template file for 'f2fs-tools'
pkgname=f2fs-tools
version=1.8.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=d4dbecf55560c548bf0758c9f641d1beec1e960b38cbbc19951195d5144d39ae
pre_configure() {
case "$XBPS_TARGET_MACHINE" in
*-musl)
mkdir -p include/sys
cp ${FILESDIR}/queue.h include/sys
esac
autoreconf -fi
}