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