void-packages/srcpkgs/f2fs-tools/template
Juergen Buchmueller 5263a94f7d f2fs-tools: add queue.h for musl
Forgot to copy the queue.h file for musl when switching to
a distfiles download.
2016-12-23 13:44:41 +01:00

29 lines
1.1 KiB
Bash

# Template file for 'f2fs-tools'
pkgname=f2fs-tools
version=1.7.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
https://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git/patch/?id=b0a2386089fd6efade6b89094325ed8a9f8c6fff>f2fs-tools-allow-to-build-without-libselinux.patch"
checksum="
33d454c2e95aabef5659949c4fff15f6c9877b48349e64411de502bc62b0cbd4
4ac1dcf67c0b9b4dbca12602cd9d2180363d67e721a667bf14ad4147f0bbf4f6"
pre_configure() {
patch -Np1 < ../f2fs-tools-allow-to-build-without-libselinux.patch
case "$XBPS_TARGET_MACHINE" in
*-musl)
mkdir -p include/sys
cp ${FILESDIR}/queue.h include/sys
esac
autoreconf -fi
}