void-packages/srcpkgs/f2fs-tools/template

27 lines
827 B
Bash

# Template file for 'f2fs-tools'
pkgname=f2fs-tools
version=1.4.1
revision=2
build_pie=yes
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@gmail.com>"
license="GPL-2"
homepage="http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git"
do_fetch() {
git clone -b v${version} git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git ${pkgname}-${version}
case "$XBPS_TARGET_MACHINE" in
*-musl)
mkdir -p ${pkgname}-${version}/include/sys
cp ${FILESDIR}/queue.h ${pkgname}-${version}/include/sys
esac
}
pre_configure() {
autoreconf -fi
}