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