void-packages/srcpkgs/f2fs-tools/template

27 lines
830 B
Bash
Raw Normal View History

2013-05-02 12:46:03 +02:00
# Template file for 'f2fs-tools'
pkgname=f2fs-tools
2015-03-05 09:13:04 +01:00
version=1.4.1
2015-03-18 11:46:13 +01:00
revision=2
build_pie=yes
2013-05-02 12:46:03 +02:00
build_style=gnu-configure
2015-03-03 00:48:03 +01:00
configure_args="--sbindir=/usr/bin --disable-static ac_cv_file__git=yes"
2013-10-28 12:37:31 +01:00
make_install_args="sbindir=/usr/bin"
hostmakedepends="automake libtool pkg-config git"
2013-05-02 12:46:03 +02:00
makedepends="libuuid-devel"
short_desc="Tools for the Linux Flash-Friendly File System (F2FS)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2013-05-02 12:46:03 +02:00
license="GPL-2"
2013-10-28 12:37:31 +01:00
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
2013-10-28 12:37:31 +01:00
}
2013-05-02 12:46:03 +02:00
pre_configure() {
autoreconf -fi
}