e2fsprogs-libs.inc: removed dependency to unsupported util-linux-ng for nylon
authorMartin Dietze <herbert@spamcop.net>
Sun, 29 Nov 2009 20:07:17 +0000 (21:07 +0100)
committerMartin Dietze <herbert@spamcop.net>
Sun, 29 Nov 2009 20:07:17 +0000 (21:07 +0100)
 * on nylon util-linux-ng is not needed and not supported, e2fsprogs-libs can be built without depending on it
 * this revision adds an override vor nylon which sets the necessary options to `configure' and deploys the uuid header and lib to staging

recipes/e2fsprogs-libs/e2fsprogs-libs.inc

index 45618b0..f5e974b 100644 (file)
@@ -35,3 +35,12 @@ do_stage () {
         install -m 0644 lib/ss/ss.h ${STAGING_INCDIR}/ss/
         install -m 0644 lib/ss/ss_err.h ${STAGING_INCDIR}/ss/
 }
+
+# avoid requiring unsupported util-linux-ng for nylon, provide uuid for others...
+DEPENDS_nylon = ""
+EXTRA_OECONF_nylon = ""
+do_stage_append_nylon() {
+        install -d ${STAGING_INCDIR}/uuid
+        install -m 0644 lib/uuid/uuid.h ${STAGING_INCDIR}/uuid/
+        install -m 0644 lib/uuid/libuuid.a ${STAGING_LIBDIR}/
+}