summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-27 17:22:04 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-27 18:01:39 +0200
commitf6904a98bffe0bce5fc6aac408c141a25c0e05ab (patch)
tree80e3bc91cc427a06c35d6dc3a3d50baad5ff5873 /lib
parent6dd765d1abd92fe0ec6f3349b5bbd48294078815 (diff)
Add a pkg-config file for libsquashfs
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
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@