[lockdev-devel] [PATCH 21/22] add pkgconfig file
Ludwig Nussel
ludwig.nussel at suse.de
Fri Feb 26 15:47:41 UTC 2010
2nd try
---
Makefile.am | 3 +++
configure.ac | 1 +
lockdev.pc.in | 11 +++++++++++
3 files changed, 15 insertions(+), 0 deletions(-)
create mode 100644 lockdev.pc.in
diff --git a/Makefile.am b/Makefile.am
index d229a00..c5aa20d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1 +1,4 @@
SUBDIRS = src docs
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = lockdev.pc
diff --git a/configure.ac b/configure.ac
index 72e50b0..f258e0c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -31,5 +31,6 @@ AC_CONFIG_FILES([
Makefile
src/Makefile
docs/Makefile
+ lockdev.pc
])
AC_OUTPUT
diff --git a/lockdev.pc.in b/lockdev.pc.in
new file mode 100644
index 0000000..2f499c8
--- /dev/null
+++ b/lockdev.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: lockdev
+Description: A library for locking devices
+Version: @VERSION@
+Libs: -L${libdir} -llockdev
+Cflags:
+
--
1.6.4.2
More information about the lockdev-devel
mailing list