1SUMMARY = "LogFS Programs: used to create LogFS file system"
2DESCRIPTION = "\
3LogFS is a Linux log-structured and scalable flash file system, intended \
4for use on large devices of flash memory. It is written by Jörn Engel and \
5in part sponsored by the CE Linux Forum. \
6LogFS is included in the mainline Linux kernel and was introduced in \
7version 2.6.34, released on May 16, 2010."
8HOMEPAGE = "https://github.com/prasad-joshi/logfsprogs"
9SECTION = "base"
10LICENSE = "GPL-2.0-only"
11LIC_FILES_CHKSUM = "file://fsck.c;md5=3859dc73da97909ff1d0125e88a27e02"
12DEPENDS = "zlib"
13
14SRC_URI = "git://github.com/prasad-joshi/logfsprogs.git;branch=master;protocol=https \
15           file://0001-Add-LDFLAGS-to-linker-cmdline.patch \
16           file://0001-btree-Avoid-conflicts-with-libc-namespace-about-setk.patch \
17           file://0001-include-sys-sysmacros.h-for-major-minor-definition.patch \
18           "
19SRCREV = "45b72c81ce3c6fa17ca19bafc207ea93e76312f4"
20
21S = "${WORKDIR}/git"
22
23EXTRA_OEMAKE = "CC="${CC}" LD="${LD}" AR="${AR}""
24
25do_install () {
26    mkdir -p ${D}${bindir}
27    install -m 0755 ${S}/mklogfs ${D}${bindir}/mklogfs
28}
29
30BBCLASSEXTEND = "native nativesdk"
31