diff options
Diffstat (limited to 'meta/recipes-devtools/e2fsprogs/e2fsprogs_1.41.14.bb')
-rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs_1.41.14.bb | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.41.14.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.41.14.bb new file mode 100644 index 0000000000..d493f6fcee --- /dev/null +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.41.14.bb | |||
@@ -0,0 +1,49 @@ | |||
1 | require e2fsprogs.inc | ||
2 | |||
3 | PR = "r0" | ||
4 | |||
5 | SRC_URI += "file://quotefix.patch;patch=1 \ | ||
6 | file://acinclude.m4" | ||
7 | |||
8 | SRC_URI[md5sum] = "05f70470aea2ef7efbb0845b2b116720" | ||
9 | SRC_URI[sha256sum] = "3f8ac1fedd7c4bec480afcbe4acabdd4ac59ec0446a0fd50c8975cd0aad7b176" | ||
10 | #file://no-hardlinks.patch;patch=1 | ||
11 | |||
12 | PARALLEL_MAKE = "" | ||
13 | |||
14 | EXTRA_OECONF += " --sbindir=${base_sbindir} --enable-elf-shlibs --disable-libuuid" | ||
15 | EXTRA_OECONF_darwin = "--sbindir=${base_sbindir} --enable-bsd-shlibs" | ||
16 | EXTRA_OECONF_darwin8 = "--sbindir=${base_sbindir} --enable-bsd-shlibs" | ||
17 | |||
18 | do_configure_prepend () { | ||
19 | cp ${WORKDIR}/acinclude.m4 ${S}/ | ||
20 | } | ||
21 | |||
22 | do_compile_prepend () { | ||
23 | find ./ -print | grep -v ./patches | xargs chmod u=rwX | ||
24 | ( cd util; ${BUILD_CC} subst.c -o subst ) | ||
25 | } | ||
26 | |||
27 | do_install () { | ||
28 | oe_runmake 'DESTDIR=${D}' install | ||
29 | oe_runmake 'DESTDIR=${D}' install-libs | ||
30 | # We use blkid from util-linux now so remove from here | ||
31 | rm -f ${D}${libdir}/libblkid* | ||
32 | rm -rf ${D}${includedir}/blkid | ||
33 | rm -f ${D}${libdir}/pkgconfig/blkid.pc | ||
34 | } | ||
35 | |||
36 | # blkid used to be part of e2fsprogs but is useful outside, add it | ||
37 | # as an RDEPENDS_${PN} so that anything relying on it being in e2fsprogs | ||
38 | # still works | ||
39 | RDEPENDS_e2fsprogs = "e2fsprogs-blkid e2fsprogs-badblocks" | ||
40 | |||
41 | PACKAGES =+ "e2fsprogs-blkid e2fsprogs-e2fsck e2fsprogs-mke2fs e2fsprogs-fsck e2fsprogs-tune2fs e2fsprogs-badblocks" | ||
42 | FILES_e2fsprogs-blkid = "${base_sbindir}/blkid" | ||
43 | FILES_e2fsprogs-fsck = "${base_sbindir}/fsck" | ||
44 | FILES_e2fsprogs-e2fsck = "${base_sbindir}/e2fsck ${base_sbindir}/fsck.ext*" | ||
45 | FILES_e2fsprogs-mke2fs = "${base_sbindir}/mke2fs ${base_sbindir}/mkfs.ext*" | ||
46 | FILES_e2fsprogs-tune2fs = "${base_sbindir}/tune2fs ${base_sbindir}/e2label ${base_sbindir}/findfs" | ||
47 | FILES_e2fsprogs-badblocks = "${base_sbindir}/badblocks" | ||
48 | |||
49 | BBCLASSEXTEND = "native" | ||