From a57b7e46be1b007d118add71b28fb25e0ed0a47a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anna=20=E2=80=9CCyberTailor=E2=80=9D?= Date: Wed, 10 Nov 2021 00:09:15 +0500 Subject: [PATCH] Add libboinc_zip.pc pkg-config file --- configure.ac | 1 + zip/Makefile.am | 1 + zip/libboinc_zip.pc.in | 12 ++++++++++++ 3 files changed, 14 insertions(+) create mode 100644 zip/libboinc_zip.pc.in 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