From: Vinod Koul Date: Fri, 15 Nov 2019 14:15:33 +0000 (+0530) Subject: tinycompress: Add pc file X-Git-Tag: v1.2.2~2 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=474d2ec5e57209a468597428faa1beb080687659;p=tinycompress.git tinycompress: Add pc file Add pc file for the users of this lib Signed-off-by: Vinod Koul --- diff --git a/Makefile.am b/Makefile.am index 1c2beea..db48df0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,3 +1,5 @@ SUBDIRS = include src +pkgconfig_DATA = tinycompress.pc + ACLOCAL_AMFLAGS = -I m4 diff --git a/configure.ac b/configure.ac index 416d93b..ce51d5c 100644 --- a/configure.ac +++ b/configure.ac @@ -16,6 +16,7 @@ AC_PROG_CPP AC_PROG_INSTALL AC_PROG_MAKE_SET AM_PROG_CC_C_O +PKG_INSTALLDIR # Checks for libraries. @@ -28,5 +29,6 @@ Makefile include/Makefile src/Makefile src/lib/Makefile -src/utils/Makefile]) +src/utils/Makefile +tinycompress.pc]) AC_OUTPUT diff --git a/tinycompress.pc.in b/tinycompress.pc.in new file mode 100644 index 0000000..0762b5d --- /dev/null +++ b/tinycompress.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: libtinycompress +Description: Tinycompress library for ALSA compress audio offload +URL: alsa-project.org +Version: @VERSION@ +Cflags: -I${includedir}/tinycompress +Libs: -L${libdir} -ltinycompress