25 lines
816 B
Bash
25 lines
816 B
Bash
# Template file for 'f2fs-tools'
|
|
pkgname=f2fs-tools
|
|
version=1.6.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="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
|
|
}
|