From 966e802cc9cfd27e4c9a6e474c6396a7f9df0b6c Mon Sep 17 00:00:00 2001 From: Patrick McHardy Date: Tue, 27 Jul 2010 04:32:47 +0200 Subject: [PATCH] libdect: add pkg-config file Signed-off-by: Patrick McHardy --- .gitignore | 1 + configure.ac | 1 + libdect-0.0.1.pc.in | 11 +++++++++++ 3 files changed, 13 insertions(+) create mode 100644 libdect-0.0.1.pc.in diff --git a/.gitignore b/.gitignore index d26b395..bb67d8b 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ config.h.in~ config.log config.status configure +libdect-0.0.1.pc autom4te.cache # Debian package build temporary files diff --git a/configure.ac b/configure.ac index 121e900..250aa31 100644 --- a/configure.ac +++ b/configure.ac @@ -95,4 +95,5 @@ AC_CONFIG_FILES([include/Makefile]) AC_CONFIG_FILES([src/Makefile]) AC_CONFIG_FILES([example/Makefile]) AC_CONFIG_FILES([doc/Makefile doc/Doxyfile]) +AC_CONFIG_FILES([libdect-0.0.1.pc]) AC_OUTPUT diff --git a/libdect-0.0.1.pc.in b/libdect-0.0.1.pc.in new file mode 100644 index 0000000..8586a94 --- /dev/null +++ b/libdect-0.0.1.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: libdect +Description: DECT Network Layer library +Version: @PACKAGE_VERSION@ +Requires: libnl-2.0 +Libs: -L${libdir} -ldect +Cflags: -I${includedir}