diff options
Diffstat (limited to 'meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.1.bb')
-rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.1.bb | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.1.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.1.bb new file mode 100644 index 0000000000..6df7cea320 --- /dev/null +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.1.bb | |||
@@ -0,0 +1,64 @@ | |||
1 | require e2fsprogs.inc | ||
2 | |||
3 | PR = "r0" | ||
4 | |||
5 | SRC_URI += "file://fallocate.patch \ | ||
6 | file://acinclude.m4 \ | ||
7 | file://remove.ldconfig.call.patch \ | ||
8 | " | ||
9 | |||
10 | SRC_URI[md5sum] = "8ed1501ae6746e2e735bdd1407211dc9" | ||
11 | SRC_URI[sha256sum] = "0f1fdc10c6289b6750714490837df9aab691f352d33f5ecb64507704df6ff991" | ||
12 | |||
13 | EXTRA_OECONF += "--libdir=${base_libdir} --sbindir=${base_sbindir} --enable-elf-shlibs --disable-libuuid --disable-uuidd" | ||
14 | EXTRA_OECONF_darwin = "--libdir=${base_libdir} --sbindir=${base_sbindir} --enable-bsd-shlibs" | ||
15 | EXTRA_OECONF_darwin8 = "--libdir=${base_libdir} --sbindir=${base_sbindir} --enable-bsd-shlibs" | ||
16 | |||
17 | do_configure_prepend () { | ||
18 | cp ${WORKDIR}/acinclude.m4 ${S}/ | ||
19 | } | ||
20 | |||
21 | do_compile_prepend () { | ||
22 | find ./ -print | grep -v ./patches | xargs chmod u=rwX | ||
23 | ( cd util; ${BUILD_CC} subst.c -o subst ) | ||
24 | } | ||
25 | |||
26 | do_install () { | ||
27 | oe_runmake 'DESTDIR=${D}' install | ||
28 | oe_runmake 'DESTDIR=${D}' install-libs | ||
29 | # We use blkid from util-linux now so remove from here | ||
30 | rm -f ${D}${base_libdir}/libblkid* | ||
31 | rm -rf ${D}${includedir}/blkid | ||
32 | rm -f ${D}${base_libdir}/pkgconfig/blkid.pc | ||
33 | } | ||
34 | |||
35 | do_install_append () { | ||
36 | # e2initrd_helper and the pkgconfig files belong in libdir | ||
37 | if [ ! ${D}${libdir} -ef ${D}${base_libdir} ]; then | ||
38 | install -d ${D}${libdir} | ||
39 | mv ${D}${base_libdir}/e2initrd_helper ${D}${libdir} | ||
40 | mv ${D}${base_libdir}/pkgconfig ${D}${libdir} | ||
41 | fi | ||
42 | } | ||
43 | |||
44 | # blkid used to be part of e2fsprogs but is useful outside, add it | ||
45 | # as an RDEPENDS_${PN} so that anything relying on it being in e2fsprogs | ||
46 | # still works | ||
47 | RDEPENDS_e2fsprogs = "e2fsprogs-blkid e2fsprogs-badblocks" | ||
48 | |||
49 | PACKAGES =+ "e2fsprogs-blkid e2fsprogs-e2fsck e2fsprogs-mke2fs e2fsprogs-fsck e2fsprogs-tune2fs e2fsprogs-badblocks" | ||
50 | PACKAGES =+ "libcomerr libss libe2p libext2fs" | ||
51 | |||
52 | FILES_e2fsprogs-blkid = "${base_sbindir}/blkid" | ||
53 | FILES_e2fsprogs-fsck = "${base_sbindir}/fsck" | ||
54 | FILES_e2fsprogs-e2fsck = "${base_sbindir}/e2fsck ${base_sbindir}/fsck.ext*" | ||
55 | FILES_e2fsprogs-mke2fs = "${base_sbindir}/mke2fs ${base_sbindir}/mkfs.ext* ${sysconfdir}/mke2fs.conf" | ||
56 | FILES_e2fsprogs-tune2fs = "${base_sbindir}/tune2fs ${base_sbindir}/e2label ${base_sbindir}/findfs" | ||
57 | FILES_e2fsprogs-badblocks = "${base_sbindir}/badblocks" | ||
58 | FILES_libcomerr = "${base_libdir}/libcom_err.so.*" | ||
59 | FILES_libss = "${base_libdir}/libss.so.*" | ||
60 | FILES_libe2p = "${base_libdir}/libe2p.so.*" | ||
61 | FILES_libext2fs = "${libdir}/e2initrd_helper ${libdir}/libext2fs.so.*" | ||
62 | FILES_${PN}-dev += "${datadir}/*/*.awk ${datadir}/*/*.sed ${base_libdir}/*.so" | ||
63 | |||
64 | BBCLASSEXTEND = "native" | ||