summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-07-09 12:04:56 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-07-10 17:12:30 +0200
commitd7c515863ecd8a8cc7e0103c9486b4014558793b (patch)
tree2ab26ee8922f21dded6d4c4315fce04fcc0e3e4e
parent34f32fcb7b1ea567c60c9ae1f46a235e0fba4bfe (diff)
Enhance pkgconfig file.
Change-Id: I56c220dd9648c61c2e8667e42864958a4a2c96eb Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--conf.d/afb-test.pc.in4
-rw-r--r--conf.d/cmake/config.cmake2
2 files changed, 4 insertions, 2 deletions
diff --git a/conf.d/afb-test.pc.in b/conf.d/afb-test.pc.in
index 5d00415..3e9ed8b 100644
--- a/conf.d/afb-test.pc.in
+++ b/conf.d/afb-test.pc.in
@@ -17,7 +17,9 @@
## limitations under the License.
##
-libdir=@CMAKE_INSTALL_PREFIX@
+etcdir=@CMAKE_INSTALL_PREFIX@/@PROJECT_NAME@/etc
+libdir=@CMAKE_INSTALL_PREFIX@/@PROJECT_NAME@/lib
+vardir=@CMAKE_INSTALL_PREFIX@/@PROJECT_NAME@/var
Name: @PROJECT_PRETTY_NAME@
Description: @PROJECT_DESCRIPTION@
diff --git a/conf.d/cmake/config.cmake b/conf.d/cmake/config.cmake
index b66cd77..790235f 100644
--- a/conf.d/cmake/config.cmake
+++ b/conf.d/cmake/config.cmake
@@ -20,7 +20,7 @@
# ------------------
set(PROJECT_NAME afb-test)
set(PROJECT_VERSION "5.0")
-set(PROJECT_PRETTY_NAME "Binding to test other bindings")
+set(PROJECT_PRETTY_NAME "Application Framework Test")
set(PROJECT_DESCRIPTION "Binding used to test other binding")
set(PROJECT_URL "https://github.com/iotbzh/afb-test")
set(PROJECT_ICON "icon.png")