summaryrefslogtreecommitdiff
path: root/strata/tizen/pkgmgr-info.morph
diff options
context:
space:
mode:
Diffstat (limited to 'strata/tizen/pkgmgr-info.morph')
-rw-r--r--strata/tizen/pkgmgr-info.morph13
1 files changed, 13 insertions, 0 deletions
diff --git a/strata/tizen/pkgmgr-info.morph b/strata/tizen/pkgmgr-info.morph
new file mode 100644
index 00000000..8cdc00b2
--- /dev/null
+++ b/strata/tizen/pkgmgr-info.morph
@@ -0,0 +1,13 @@
+name: pkgmgr-info
+kind: chunk
+build-system: cmake
+pre-configure-commands:
+# In yocto's tizen-distro, TizenCommon is a module they patch cmake to add.
+# It has some useful assignments, but unless it's used very frequently, it's
+# easier to do the necessary assignments and remove inclusion of TizenCommon.
+- sed -i '/INCLUDE(TizenCommon)/d' CMakeLists.txt parser/CMakeLists.txt
+configure-commands:
+- |
+ cmake -DCMAKE_INSTALL_PREFIX="$PREFIX" \
+ -DLIB_INSTALL_DIR="$PREFIX/lib" \
+ -DTZ_SYS_CONFIG="$PREFIX/kdb"