DESCRIPTION = "User-level tools for NILFS2 filesystems"
SECTION = "base"
LICENSE = "GPL"
HOMEPAGE = "http://www.nilfs.org/"

# required for libuuid
DEPENDS = "e2fsprogs-libs"

RRECOMMENDS_${PN} = "nilfs-utils-mkfs nilfs-utils-stats"

PR = "r0"

SRC_URI ="http://www.nilfs.org/download/nilfs-utils-2.0.12.tar.bz2 \
file://no-ldconfig-during-install.patch;patch=1"

S = "${WORKDIR}/nilfs-utils-${PV}"

inherit autotools

PACKAGES_prepend = "nilfs-utils-mkfs nilfs-utils-stats "

FILES_nilfs-utils-mkfs = "${base_sbindir}/mkfs.nilfs2"
FILES_nilfs-utils-stats = "${bindir}/dumpseg ${bindir}/lssu"