Fix pkgmgr fr native build
[scm/bb/meta-tizen.git] / recipes-tizen / aul / aul-extraconf.inc
1 do_prep_append() {
2     sed -i 's!/usr/bin/mkdir -p!/bin/mkdir -p!g' ${S}/packaging/ac.service
3     # preload_list.txt and preexec_list.txt are generated from .in files so they are located in the build directory instead of the source one
4     sed -i 's@INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/legacy/preload_list.txt DESTINATION /usr/share/aul )@INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/legacy/preload_list.txt DESTINATION /usr/share/aul )@' ${S}/CMakeLists.txt
5     sed -i 's@INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/feature/preexec_list.txt DESTINATION /usr/share/aul )@INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/feature/preexec_list.txt DESTINATION /usr/share/aul )@' ${S}/CMakeLists.txt
6 }
7
8 SRC_URI_append_class-native = " file://remove-dlog-for-native-build.patch"
9 aul_files += "${prefix}/share/aul/mida_db.sql"
10
11 RDEPENDS_${PN}_remove_class-native = "systemd-native"
12 RDEPENDS_${PN}_remove_class-native = "eglibc-native"
13
14 DEPENDS_remove_class-native = "dlog-native"
15
16 EXTRA_OECMAKE+="-DCMAKE_AR:PATH=ar"