summaryrefslogtreecommitdiff
path: root/libdane
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-10-29 19:31:12 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-10-29 19:31:12 +0100
commitc89a14d3f72c282c56e432af89978da5aad950f2 (patch)
tree5500849df18dfb216aa9347b1c2b64daed19d4a5 /libdane
parentc9576d5286a1e0f1f6be50b49779a604df7be49b (diff)
downloadgnutls-c89a14d3f72c282c56e432af89978da5aad950f2.tar.gz
Added gnutls-dane.pc.
Diffstat (limited to 'libdane')
-rw-r--r--libdane/Makefile.am6
-rw-r--r--libdane/gnutls-dane.pc.in24
2 files changed, 29 insertions, 1 deletions
diff --git a/libdane/Makefile.am b/libdane/Makefile.am
index 65a5d5f555..91d18ad08b 100644
--- a/libdane/Makefile.am
+++ b/libdane/Makefile.am
@@ -63,4 +63,8 @@ defexec_DATA += libgnutls-dane-$(DLL_VERSION).def
endif
endif
-DISTCLEANFILES = $(defexec_DATA)
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = gnutls-dane.pc
+DISTCLEANFILES = $(pkgconfig_DATA)
+
+DISTCLEANFILES += $(defexec_DATA)
diff --git a/libdane/gnutls-dane.pc.in b/libdane/gnutls-dane.pc.in
new file mode 100644
index 0000000000..32a3df48c0
--- /dev/null
+++ b/libdane/gnutls-dane.pc.in
@@ -0,0 +1,24 @@
+# Process this file with autoconf to produce a pkg-config metadata file.
+
+# Copyright (C) 2004-2012 Free Software Foundation, Inc.
+
+# Copying and distribution of this file, with or without modification,
+# are permitted in any medium without royalty provided the copyright
+# notice and this notice are preserved. This file is offered as-is,
+# without any warranty.
+
+# Author: Nikos Mavrogiannopoulos
+
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: GnuTLS-DANE
+Description: DANE security library for the GNU system
+URL: http://www.gnu.org/software/gnutls/
+Version: @VERSION@
+Libs: -L${libdir} -lgnutls-dane
+Libs.private: @UNBOUND_LIBS@
+Requires.private: gnutls
+Cflags: -I${includedir}