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