summaryrefslogtreecommitdiff
path: root/pkgconfig
diff options
context:
space:
mode:
Diffstat (limited to 'pkgconfig')
-rw-r--r--pkgconfig/CMakeLists.txt11
-rw-r--r--pkgconfig/cert-checker.pc.in11
2 files changed, 22 insertions, 0 deletions
diff --git a/pkgconfig/CMakeLists.txt b/pkgconfig/CMakeLists.txt
new file mode 100644
index 0000000..a2d10a4
--- /dev/null
+++ b/pkgconfig/CMakeLists.txt
@@ -0,0 +1,11 @@
+CONFIGURE_FILE(
+ ${SERVICE_NAME}.pc.in
+ ${SERVICE_NAME}.pc
+ @ONLY
+)
+
+INSTALL(
+ FILES
+ ${SERVICE_NAME}.pc
+ DESTINATION
+ ${LIB_INSTALL_DIR}/pkgconfig)
diff --git a/pkgconfig/cert-checker.pc.in b/pkgconfig/cert-checker.pc.in
new file mode 100644
index 0000000..f9dd91d
--- /dev/null
+++ b/pkgconfig/cert-checker.pc.in
@@ -0,0 +1,11 @@
+prefix=@CMAKE_INSTALL_PREFIX@
+exec_prefix=%{prefix}
+libdir=@LIB_INSTALL_DIR@
+includedir=@INCLUDE_INSTALL_DIR@
+
+Name: @SERVICE_NAME@
+Description: @PACKAGE_DESCRIPTION@
+Version: @VERSION@
+Requires:
+Libs: -L${libdir} -l@SERVICE_NAME@-common
+Cflags: -I${includedir}