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
|
2015-03-04 19:44:01 +01:00
|
|
|
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"
|
2014-07-27 16:05:16 +02:00
|
|
|
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)"
|
2015-04-10 09:16:30 +02:00
|
|
|
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}
|
2015-03-30 14:09:23 +02:00
|
|
|
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
|
|
|
|
}
|