summaryrefslogtreecommitdiffstats
path: root/openpgp-ffi/sequoia-openpgp.pc.in
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-01-17 11:11:27 +0100
committerJustus Winter <justus@sequoia-pgp.org>2019-01-17 16:48:28 +0100
commit3f58832474a4b270e136544016a401ef773ac065 (patch)
treec617160250c3040ca964c1b72ab5957cd872b82f /openpgp-ffi/sequoia-openpgp.pc.in
parent38b4108cc1eac851ac17932c5c33623dd535bebb (diff)
openpgp-ffi: New crate.
- This creates a new crate, 'sequoia-openpgp-ffi', and moves a handful of functions from 'sequoia-ffi' to it. - The 'sequoia-ffi' crate is a superset of the 'sequoia-openpgp-ffi' crate. This is accomplished by some include! magic. - My first attempt involved having 'sequoia-ffi' depend on 'sequoia-openpgp-ffi', so that the former just re-exports the symbols. However, that turned out to be unreliable, and might be not what we want, because it could also duplicate parts of Rust's standard library. - Fixes #144.
Diffstat (limited to 'openpgp-ffi/sequoia-openpgp.pc.in')
-rw-r--r--openpgp-ffi/sequoia-openpgp.pc.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/openpgp-ffi/sequoia-openpgp.pc.in b/openpgp-ffi/sequoia-openpgp.pc.in
new file mode 100644
index 00000000..2184092b
--- /dev/null
+++ b/openpgp-ffi/sequoia-openpgp.pc.in
@@ -0,0 +1,11 @@
+prefix=PREFIX
+libdir=${prefix}/lib
+includedir=${prefix}/include
+
+Name: Sequoia-OpenPGP
+Description: A modern OpenPGP implementation.
+URL: https://sequoia-pgp.org/
+Version: VERSION
+Requires.private: nettle
+Cflags: -I${includedir}
+Libs: -L${libdir} -lsequoia_openpgp_ffi