meta-tizen: Update libhaptic recipe
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Wed, 11 Jun 2014 10:23:40 +0000 (12:23 +0200)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 17:20:31 +0000 (09:20 -0800)
Add pre/post install/uninstall recipe.

Change-Id: I011b13dc4c5145da3d662f694e60e82619a8c6c4
(From meta-tizen rev: 2ee81dc811c1fc234c8aa63b32ac160cf2de48e4)

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

index 51fb6ec..db6ace9 100644 (file)
@@ -103,6 +103,18 @@ do_install() {
  
 }
 
+pkg_postinst_${PN}() {
+    #!/bin/sh -e
+
+    /sbin/ldconfig
+}
+
+pkg_postrm_${PN}() {
+    #!/bin/sh -e
+
+    /sbin/ldconfig
+}
+
 PACKAGES += " libhaptic-plugin-dev "
 
 libhaptic_files = ""