summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.8.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.8.bb')
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.8.bb60
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 @@
1require e2fsprogs.inc
2
3
4SRC_URI += "file://acinclude.m4 \
5 file://remove.ldconfig.call.patch \
6"
7
8SRC_URI[md5sum] = "8ef664b6eb698aa6b733df59b17b9ed4"
9SRC_URI[sha256sum] = "b984aaf1fe888d6a4cf8c2e8d397207879599b5368f1d33232c1ec9d68d00c97"
10
11EXTRA_OECONF += "--libdir=${base_libdir} --sbindir=${base_sbindir} --enable-elf-shlibs --disable-libuuid --disable-uuidd"
12EXTRA_OECONF_darwin = "--libdir=${base_libdir} --sbindir=${base_sbindir} --enable-bsd-shlibs"
13EXTRA_OECONF_darwin8 = "--libdir=${base_libdir} --sbindir=${base_sbindir} --enable-bsd-shlibs"
14
15do_configure_prepend () {
16 cp ${WORKDIR}/acinclude.m4 ${S}/
17}
18
19do_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
24do_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
36do_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
45RDEPENDS_e2fsprogs = "e2fsprogs-badblocks"
46
47PACKAGES =+ "e2fsprogs-e2fsck e2fsprogs-mke2fs e2fsprogs-tune2fs e2fsprogs-badblocks"
48PACKAGES =+ "libcomerr libss libe2p libext2fs"
49
50FILES_e2fsprogs-e2fsck = "${base_sbindir}/e2fsck ${base_sbindir}/fsck.ext*"
51FILES_e2fsprogs-mke2fs = "${base_sbindir}/mke2fs ${base_sbindir}/mkfs.ext* ${sysconfdir}/mke2fs.conf"
52FILES_e2fsprogs-tune2fs = "${base_sbindir}/tune2fs ${base_sbindir}/e2label"
53FILES_e2fsprogs-badblocks = "${base_sbindir}/badblocks"
54FILES_libcomerr = "${base_libdir}/libcom_err.so.*"
55FILES_libss = "${base_libdir}/libss.so.*"
56FILES_libe2p = "${base_libdir}/libe2p.so.*"
57FILES_libext2fs = "${libdir}/e2initrd_helper ${base_libdir}/libext2fs.so.*"
58FILES_${PN}-dev += "${datadir}/*/*.awk ${datadir}/*/*.sed ${base_libdir}/*.so"
59
60BBCLASSEXTEND = "native"