meta-tizen: ecryptfs-utils: correct build issues
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Wed, 6 Aug 2014 14:04:51 +0000 (16:04 +0200)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 17:21:47 +0000 (09:21 -0800)
* Remove unknown tag "AM_GLIB_GNU_GETTEXT" from configure.ac.
* Export missing environment variables needed during the build.
* Correct some packaging issues (QA).

Change-Id: Iba7cb0ba7c1da899ac1ea26d37ea1016ffd49101
(From meta-tizen rev: 82bebbdf0960834073097d45d01d2d166577799e)

Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-tizen/recipes-tizen/ecryptfs-utils/ecryptfs-utils-extraconf.inc

index e69de29..d1745b5 100644 (file)
@@ -0,0 +1,19 @@
+do_configure_prepend() {
+    # Remove unknown macro in configure.ac
+    sed -i 's@^AM_GLIB_GNU_GETTEXT@@' configure.ac
+}
+
+do_compile_prepend() {
+    export HOST_SYS=${HOST_SYS}
+    export BUILD_SYS=${BUILD_SYS}
+    export STAGING_LIBDIR=${STAGING_LIBDIR}
+    export STAGING_INCDIR=${STAGING_INCDIR}
+}
+
+# Bypass a QA issue regarding symnlinks.
+# A better solution would be to  create a libecryptfs-python-dev package containing the symlinks.
+INSANE_SKIP_libecryptfs-python = "dev-so"
+
+ecryptfs-utils_files += "/lib/security/pam_ecryptfs.so"
+
+ecryptfs-utils-dbg_files += "/lib/security/.debug/pam_ecryptfs.so"