aboutsummaryrefslogtreecommitdiffstats
path: root/ctl-lib/appcontroller.pc.in
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2019-01-16 14:55:20 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2019-01-24 10:41:40 +0100
commit2fd0e000fe6206a113f1def04363e7412a2a5007 (patch)
treed813a613dfc2d8953792694b5274e65b9b71d957 /ctl-lib/appcontroller.pc.in
parent8f7623339beb1ba07a41a016fa0a1507da92a03e (diff)
Adds more details about the library migration
- adds the controller binder definitions migration to binder functions definitions and instructions using a sed script to migrate the old functions definition. - adds requirement reminder to af-binder version >= FF - fix wrong git submodule name given as example - Use AGLVERSION variable to set the PROJECT_VERSION. AGLVERSION could then be overwriten using command-line. - Use ${libdir} instead of CMake variable to set the Libs pkg-config variable. Bug-AGL: SPEC-1689 Change-Id: If03f35bab9501fbcb97244836692301c36d6d74c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'ctl-lib/appcontroller.pc.in')
-rw-r--r--ctl-lib/appcontroller.pc.in30
1 files changed, 30 insertions, 0 deletions
diff --git a/ctl-lib/appcontroller.pc.in b/ctl-lib/appcontroller.pc.in
new file mode 100644
index 0000000..5980576
--- /dev/null
+++ b/ctl-lib/appcontroller.pc.in
@@ -0,0 +1,30 @@
+##
+## Copyright (C) 2016, 2017, 2018 "IoT.bzh"
+##
+## This file is part of afb-daemon project.
+##
+## Licensed under the Apache License, Version 2.0 (the "License");
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+## http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+## See the License for the specific language governing permissions and
+## limitations under the License.
+##
+
+prefix=@CMAKE_INSTALL_PREFIX@
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: @TARGET_NAME@
+Description: @PROJECT_DESCRIPTION@
+Version: @PROJECT_VERSION@
+URL: @PROJECT_URL@
+Requires.private: afb-helpers
+Libs: -L${libdir} -l@TARGET_NAME@
+Cflags: -I${includedir}