This change is required by following change:
https://review.tizen.org/gerrit/#/c/50502/
and should be merged before that change.
Change-Id: I72c1037071b30b698152603b18f1fac0cc911aec
Name: manifest-parser
Description: Universal manifest parser
Version: @VERSION@
-Requires: libiri libxml-2.0 pkgmgr-info pkgmgr-parser vconf
+Requires: libiri libxml-2.0 pkgmgr-info pkgmgr-parser vconf manifest-parser-utils
Libs: -L${libdir} -lmanifest-parser
Cflags: -I${includedir}
# Install
INSTALL(TARGETS ${TARGET_LIBNAME_UTILS} DESTINATION ${LIB_INSTALL_DIR})
+
+# Install includes
+INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${INCLUDEDIR}/manifest_parser
+ FILES_MATCHING PATTERN "*.h")
+
+# Configure and install pkgconfig file
+SET(PKG_FILE manifest-parser-utils.pc)
+CONFIGURE_FILE(${PKG_FILE}.in ${PKG_FILE} @ONLY)
+INSTALL(FILES ${PKG_FILE} DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
--- /dev/null
+prefix=@PREFIX@
+exec_prefix=@PREFIX@
+libdir=@LIBDIR@
+includedir=@INCLUDEDIR@
+
+Name: manifest-parser-utils
+Description: Universal manifest parser utils
+Version: @VERSION@
+Requires: libiri
+Libs: -L${libdir} -lmanifest-parser-utils
+Cflags: -I${includedir}