[parted-devel] [PATCH] Add libparted-fs-resize.pc

Brian C. Lane bcl at redhat.com
Mon Feb 29 20:02:58 UTC 2016


Add a pkgconfig file for the filesystem resize library.
---
 Makefile.am               |  3 ++-
 configure.ac              |  1 +
 libparted-fs-resize.pc.in | 10 ++++++++++
 3 files changed, 13 insertions(+), 1 deletion(-)
 create mode 100644 libparted-fs-resize.pc.in

diff --git a/Makefile.am b/Makefile.am
index 686b61c..c426b8c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,6 +6,7 @@ EXTRA_DIST =				\
   .prev-version				\
   BUGS					\
   libparted.pc.in			\
+  libparted-fs-resize.pc.in		\
   parted.spec.in			\
   parted.spec				\
   scripts/data/abi/baseline_symbols.txt \
@@ -18,7 +19,7 @@ EXTRA_DIST =				\
 aclocaldir=$(datadir)/aclocal
 
 pcdir = $(libdir)/pkgconfig
-pc_DATA = libparted.pc
+pc_DATA = libparted.pc libparted-fs-resize.pc
 
 # This is best not done via configure.ac, because automake's
 # make distcheck target does not like auto-generated files
diff --git a/configure.ac b/configure.ac
index 436d0e2..3d57157 100644
--- a/configure.ac
+++ b/configure.ac
@@ -613,6 +613,7 @@ libparted/labels/Makefile
 libparted/fs/Makefile
 libparted/tests/Makefile
 libparted.pc
+libparted-fs-resize.pc
 parted/Makefile
 partprobe/Makefile
 doc/Makefile
diff --git a/libparted-fs-resize.pc.in b/libparted-fs-resize.pc.in
new file mode 100644
index 0000000..ed9b3d6
--- /dev/null
+++ b/libparted-fs-resize.pc.in
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: libparted-fs-resize
+Description: The GNU Parted filesystem resize shared library
+Version: @VERSION@
+Libs: -L${libdir} -lparted-fs-resize
+Cflags: -I${includedir}
-- 
2.5.0




More information about the parted-devel mailing list