diff --git a/nettle/ChangeLog b/nettle/ChangeLog index 26d9e27046e75ef34467c7870ea376618f3ba4ba..c529ee2ef25892d37ab6fbcb0cbb162865b34a6d 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 a57c4bc3003c99c2c5ccea46794514b767914316..b335b93d674348abd4cc7f303252962e2ed8a6db 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 0000000000000000000000000000000000000000..457f5f2f3ecdecf6b5c90e61c5f2f2600233c94a --- /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 0000000000000000000000000000000000000000..eb0020caadc2ffa8419952b3b226561ce01ad0b6 --- /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}