summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.41.12.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/e2fsprogs/e2fsprogs_1.41.12.bb')
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs_1.41.12.bb46
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 @@
1require e2fsprogs.inc
2
3PR = "r19"
4
5SRC_URI += "file://quotefix.patch;patch=1 \
6 file://acinclude.m4"
7#file://no-hardlinks.patch;patch=1 \
8
9PARALLEL_MAKE = ""
10
11EXTRA_OECONF += " --sbindir=${base_sbindir} --enable-elf-shlibs --disable-libuuid"
12EXTRA_OECONF_darwin = "--sbindir=${base_sbindir} --enable-bsd-shlibs"
13EXTRA_OECONF_darwin8 = "--sbindir=${base_sbindir} --enable-bsd-shlibs"
14
15do_configure_prepend () {
16 cp ${WORKDIR}/acinclude.m4 ${S}/
17}
18
19do_compile_prepend () {
20 find ./ -print|xargs chmod u=rwX
21 ( cd util; ${BUILD_CC} subst.c -o 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}${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
36RDEPENDS_e2fsprogs = "e2fsprogs-blkid e2fsprogs-badblocks"
37
38PACKAGES =+ "e2fsprogs-blkid e2fsprogs-e2fsck e2fsprogs-mke2fs e2fsprogs-fsck e2fsprogs-tune2fs e2fsprogs-badblocks"
39FILES_e2fsprogs-blkid = "${base_sbindir}/blkid"
40FILES_e2fsprogs-fsck = "${base_sbindir}/fsck"
41FILES_e2fsprogs-e2fsck = "${base_sbindir}/e2fsck ${base_sbindir}/fsck.ext*"
42FILES_e2fsprogs-mke2fs = "${base_sbindir}/mke2fs ${base_sbindir}/mkfs.ext*"
43FILES_e2fsprogs-tune2fs = "${base_sbindir}/tune2fs ${base_sbindir}/e2label ${base_sbindir}/findfs"
44FILES_e2fsprogs-badblocks = "${base_sbindir}/badblocks"
45
46BBCLASSEXTEND = "native"