wgtpkg-pack
wgtpkg-sign
wgtpkg-info
-*.o
*.a
-TODO
+CMakeCache.txt
+CMakeFiles/
+Makefile
+cmake_install.cmake
+install_manifest.txt
+
a.pem
b.pem
ca-certificates/
project("afm-main" LANGUAGES "C")
+include(GNUInstallDirs)
+
macro(setc name value)
if(NOT DEFINED ${name})
set(${name} "${value}")
endif(NOT DEFINED ${name})
endmacro(setc)
-setc(rootdir "")
-setc(sysconfdir "${rootdir}/etc")
-setc(prefix "${rootdir}/usr")
-setc(datadir "${prefix}/share")
-
setc(afm_name "aglfwk")
-setc(afm_confdir "${sysconfdir}/${afm_name}")
-setc(afm_datadir "${datadir}/${afm_name}")
+setc(afm_confdir "${CMAKE_INSTALL_FULL_SYSCONFDIR}/${afm_name}")
+setc(afm_datadir "${CMAKE_INSTALL_FULL_DATADIR}/${afm_name}")
setc(afm_appdir "${afm_datadir}/applications")
setc(afm_icondir "${afm_datadir}/icons")
setc(afm_prefix "urn:agl:")
setc(wgtpkg_trusted_cert_dir "${afm_confdir}/certs")
macro(defstr name value)
- add_definitions("-D${name}=\"${value}\"")
+ add_definitions(-D${name}="${value}")
endmacro(defstr)
defstr(FWK_CONFIG_DIR "${afm_confdir}")
In a shell, type the following commands:
-autoreconf -if
-./configure
+cmake -DCMAKE_INSTALL_PREFIX=/ .
make
sudo make install
+= Summary
+
+This is the package **afm-main**.
+It stands for **AGL Framework Master - Main**.
+
+This package is providing few less behaviour that
+the following Tizen packages:
+- platform/appfw/app-installers
+- platform/core/security/cert-svc
+- platform/core/appfw/ail
+- platform/core/appfw/aul-1
+- platform/core/appfw/libslp-db-util
+
+
--- /dev/null
+List of things to do
+- Implement CRL and OCSP parts of x509
+- Implement permissions grant based on certificates
+- more documentation
+- more launchers
+- notifications
add_executable(af-usrd af-usrd.c)
target_link_libraries(af-usrd afm secwrp wgt utils)
+install(TARGETS wgtpkg-sign wgtpkg-pack wgtpkg-info wgtpkg-installer DESTINATION ${CMAKE_INSTALL_FULL_BINDIR})
+install(TARGETS af-usrd DESTINATION ${CMAKE_INSTALL_FULL_BINDIR})