[Pkg-bitcoin-commits] [libunivalue] 36/76: add pkgconfig file

Jonas Smedegaard dr at jones.dk
Mon Apr 4 09:18:30 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libunivalue.

commit b0390efca55c6e39eb601d5f5dca36537d1e0c18
Author: Jonas Schnelli <dev at jonasschnelli.ch>
Date:   Mon Sep 21 09:58:13 2015 +0200

    add pkgconfig file
---
 configure.ac                      |  7 ++++++-
 lib/libunivalue-uninstalled.pc.in |  9 +++++++++
 lib/libunivalue.pc.in             | 10 ++++++++++
 3 files changed, 25 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index c7f72ed..672e063 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,6 +55,11 @@ PKG_PROG_PKG_CONFIG
 
 AC_LANG_PUSH([C++])
 
-AC_CONFIG_FILES([lib/Makefile test/Makefile Makefile])
+AC_CONFIG_FILES([
+    lib/Makefile
+    test/Makefile
+    Makefile
+    lib/libunivalue.pc
+    lib/libunivalue-uninstalled.pc])
 AC_OUTPUT
 
diff --git a/lib/libunivalue-uninstalled.pc.in b/lib/libunivalue-uninstalled.pc.in
new file mode 100644
index 0000000..b7f53e8
--- /dev/null
+++ b/lib/libunivalue-uninstalled.pc.in
@@ -0,0 +1,9 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: libunivalue
+Description: libunivalue, C++ universal value object and JSON library
+Version: @VERSION@
+Libs: ${pc_top_builddir}/${pcfiledir}/libunivalue.la
diff --git a/lib/libunivalue.pc.in b/lib/libunivalue.pc.in
new file mode 100644
index 0000000..358a2d5
--- /dev/null
+++ b/lib/libunivalue.pc.in
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: libunivalue
+Description: libunivalue, C++ universal value object and JSON library
+Version: @VERSION@
+Libs: -L${libdir} -lunivalue
+Cflags: -I${includedir}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bitcoin/libunivalue.git



More information about the Pkg-bitcoin-commits mailing list