aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/sqfs/Makemodule.am2
-rw-r--r--lib/sqfs/libsquashfs.pc.in14
2 files changed, 16 insertions, 0 deletions
diff --git a/lib/sqfs/Makemodule.am b/lib/sqfs/Makemodule.am
index 72e3987..920172c 100644
--- a/lib/sqfs/Makemodule.am
+++ b/lib/sqfs/Makemodule.am
@@ -66,3 +66,5 @@ sqfsincludedir = $(includedir)/sqfs
sqfsinclude_HEADERS = $(LIBSQFS_HEARDS)
lib_LTLIBRARIES += libsquashfs.la
+
+pkgconfig_DATA += lib/sqfs/libsquashfs.pc
diff --git a/lib/sqfs/libsquashfs.pc.in b/lib/sqfs/libsquashfs.pc.in
new file mode 100644
index 0000000..6105248
--- /dev/null
+++ b/lib/sqfs/libsquashfs.pc.in
@@ -0,0 +1,14 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: @PACKAGE_NAME@
+Version: @PACKAGE_VERSION@
+Description: A library for working with SquashFS file systems.
+
+Cflags: -I${includedir}
+Libs: -L${libdir} -lsquashfs
+
+Requires.private: @LIBSQFS_DEP_MOD@
+Libs.private: @LZO_LIBS@ @PTHREAD_LIBS@