From f6904a98bffe0bce5fc6aac408c141a25c0e05ab Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Fri, 27 Sep 2019 17:22:04 +0200 Subject: Add a pkg-config file for libsquashfs Signed-off-by: David Oberhollenzer --- lib/sqfs/Makemodule.am | 2 ++ lib/sqfs/libsquashfs.pc.in | 14 ++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 lib/sqfs/libsquashfs.pc.in (limited to 'lib/sqfs') 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@ -- cgit v1.2.3