From d089017b00e3bdcd96bb19d17c8d50142b0bc289 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= Date: Wed, 20 Jul 2011 22:51:54 +0200 Subject: [PATCH] * configure.ac: Generate nettle.pc and hogweed.pc. * nettle.pc.in, hogweed.pc.in: New files. Rev: nettle/ChangeLog:1.208 Rev: nettle/configure.ac:1.38 Rev: nettle/hogweed.pc.in:1.1 Rev: nettle/nettle.pc.in:1.1 --- nettle/ChangeLog | 6 ++++++ nettle/configure.ac | 1 + nettle/hogweed.pc.in | 18 ++++++++++++++++++ nettle/nettle.pc.in | 11 +++++++++++ 4 files changed, 36 insertions(+) create mode 100644 nettle/hogweed.pc.in create mode 100644 nettle/nettle.pc.in diff --git a/nettle/ChangeLog b/nettle/ChangeLog index 26d9e270..c529ee2e 100644 --- a/nettle/ChangeLog +++ b/nettle/ChangeLog @@ -1,3 +1,9 @@ +2011-07-20 Niels Möller + + * configure.ac: Generate nettle.pc and hogweed.pc. + + * nettle.pc.in, hogweed.pc.in: New files. + 2011-07-17 Niels Möller * nettle-internal.h: Added missing extern declarations. diff --git a/nettle/configure.ac b/nettle/configure.ac index a57c4bc3..b335b93d 100644 --- a/nettle/configure.ac +++ b/nettle/configure.ac @@ -606,6 +606,7 @@ fi AC_CONFIG_FILES([config.make config.m4 Makefile]) AC_CONFIG_FILES([tools/Makefile testsuite/Makefile examples/Makefile]) +AC_CONFIG_FILES([nettle.pc hogweed.pc]) AC_OUTPUT diff --git a/nettle/hogweed.pc.in b/nettle/hogweed.pc.in new file mode 100644 index 00000000..457f5f2f --- /dev/null +++ b/nettle/hogweed.pc.in @@ -0,0 +1,18 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +# Uses Requires.private and Libs.private, under the assumption that +# when using shared libraries, the ELF dependencies from libhogweed.so +# to nettle and gmp work. + +Name: Hogweed +Description: Nettle low-level cryptographic library (public-key algorithms) +URL: http://www.lysator.liu.se/~nisse/nettle +Version: @PACKAGE_VERSION@ +Requires.private: nettle +Libs: -L${libdir} -lhogweed +Libs.private: -lgmp +Cflags: -I${includedir} + diff --git a/nettle/nettle.pc.in b/nettle/nettle.pc.in new file mode 100644 index 00000000..eb0020ca --- /dev/null +++ b/nettle/nettle.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: Nettle +Description: Nettle low-level cryptographic library (symmetric algorithms) +URL: http://www.lysator.liu.se/~nisse/nettle +Version: @PACKAGE_VERSION@ +Libs: -L${libdir} -lnettle +Cflags: -I${includedir} -- GitLab