summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.41.14.bb
diff options
context:
space:
mode:
authorMei Lei <lei.mei@intel.com>2011-04-12 09:31:54 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-18 10:58:46 +0100
commit70402b3c8bae6d4d22e4b91011a85dfe9d95d601 (patch)
tree38138598d1cf887bf6a370d4285b7dfeb467e210 /meta/recipes-devtools/e2fsprogs/e2fsprogs_1.41.14.bb
parent49371d81bb10436901710985fa942493e983f92e (diff)
downloadopenembedded-core-70402b3c8bae6d4d22e4b91011a85dfe9d95d601.tar.gz
openembedded-core-70402b3c8bae6d4d22e4b91011a85dfe9d95d601.tar.bz2
openembedded-core-70402b3c8bae6d4d22e4b91011a85dfe9d95d601.zip
e2fsprogs: Upgrade from 1.41.12 to 1.41.14
Signed-off-by: Mei Lei <lei.mei@intel.com>
Diffstat (limited to 'meta/recipes-devtools/e2fsprogs/e2fsprogs_1.41.14.bb')
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs_1.41.14.bb49
1 files changed, 49 insertions, 0 deletions
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.41.14.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.41.14.bb
new file mode 100644
index 0000000000..d493f6fcee
--- /dev/null
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.41.14.bb
@@ -0,0 +1,49 @@
+require e2fsprogs.inc
+
+PR = "r0"
+
+SRC_URI += "file://quotefix.patch;patch=1 \
+ file://acinclude.m4"
+
+SRC_URI[md5sum] = "05f70470aea2ef7efbb0845b2b116720"
+SRC_URI[sha256sum] = "3f8ac1fedd7c4bec480afcbe4acabdd4ac59ec0446a0fd50c8975cd0aad7b176"
+#file://no-hardlinks.patch;patch=1
+
+PARALLEL_MAKE = ""
+
+EXTRA_OECONF += " --sbindir=${base_sbindir} --enable-elf-shlibs --disable-libuuid"
+EXTRA_OECONF_darwin = "--sbindir=${base_sbindir} --enable-bsd-shlibs"
+EXTRA_OECONF_darwin8 = "--sbindir=${base_sbindir} --enable-bsd-shlibs"
+
+do_configure_prepend () {
+ cp ${WORKDIR}/acinclude.m4 ${S}/
+}
+
+do_compile_prepend () {
+ find ./ -print | grep -v ./patches | xargs chmod u=rwX
+ ( cd util; ${BUILD_CC} subst.c -o subst )
+}
+
+do_install () {
+ oe_runmake 'DESTDIR=${D}' install
+ oe_runmake 'DESTDIR=${D}' install-libs
+ # We use blkid from util-linux now so remove from here
+ rm -f ${D}${libdir}/libblkid*
+ rm -rf ${D}${includedir}/blkid
+ rm -f ${D}${libdir}/pkgconfig/blkid.pc
+}
+
+# blkid used to be part of e2fsprogs but is useful outside, add it
+# as an RDEPENDS_${PN} so that anything relying on it being in e2fsprogs
+# still works
+RDEPENDS_e2fsprogs = "e2fsprogs-blkid e2fsprogs-badblocks"
+
+PACKAGES =+ "e2fsprogs-blkid e2fsprogs-e2fsck e2fsprogs-mke2fs e2fsprogs-fsck e2fsprogs-tune2fs e2fsprogs-badblocks"
+FILES_e2fsprogs-blkid = "${base_sbindir}/blkid"
+FILES_e2fsprogs-fsck = "${base_sbindir}/fsck"
+FILES_e2fsprogs-e2fsck = "${base_sbindir}/e2fsck ${base_sbindir}/fsck.ext*"
+FILES_e2fsprogs-mke2fs = "${base_sbindir}/mke2fs ${base_sbindir}/mkfs.ext*"
+FILES_e2fsprogs-tune2fs = "${base_sbindir}/tune2fs ${base_sbindir}/e2label ${base_sbindir}/findfs"
+FILES_e2fsprogs-badblocks = "${base_sbindir}/badblocks"
+
+BBCLASSEXTEND = "native"