diff --git a/configure.ac b/configure.ac index c0cc4459a7..ed2dabc98c 100644 --- a/configure.ac +++ b/configure.ac @@ -1385,6 +1385,7 @@ AC_CONFIG_FILES([ tools/Makefile vda/Makefile zip/Makefile + zip/libboinc_zip.pc zip/zip/Makefile zip/unzip/Makefile m4/Makefile diff --git a/zip/Makefile.am b/zip/Makefile.am index f7cfe53963..94194181bc 100644 --- a/zip/Makefile.am +++ b/zip/Makefile.am @@ -60,6 +60,7 @@ libboinc_zip_sources += \ endif lib_LTLIBRARIES = libboinc_zip.la +pkgconfig_DATA = libboinc_zip.pc libboinc_zip_la_SOURCES = $(libboinc_zip_sources) libboinc_zip_la_LDFLAGS = -version-number $(LIBBOINC_VERSION) libboinc_zip_la_LIBADD = diff --git a/zip/libboinc_zip.pc.in b/zip/libboinc_zip.pc.in new file mode 100644 index 0000000000..104763ef0c --- /dev/null +++ b/zip/libboinc_zip.pc.in @@ -0,0 +1,12 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: boinc_zip +Description: Compression functions for BOINC applications +Version: @PACKAGE_VERSION@ +URL: https://boinc.berkeley.edu/trac/wiki/FileCompression + +Cflags: -I${includedir}/boinc +Libs: -L${libdir} -lboinc_zip