ecryptfs-utils: correct build issues 37/25837/2
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Wed, 6 Aug 2014 14:04:51 +0000 (16:04 +0200)
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Mon, 11 Aug 2014 07:50:30 +0000 (09:50 +0200)
* 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
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
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"