spk121 / guile-curl

A language binding for the CURL network client library for the Guile version of the Scheme language
GNU General Public License v3.0
26 stars 3 forks source link

guile-curl.pc is missing #11

Open NalaGinrut opened 9 months ago

NalaGinrut commented 9 months ago

It seems guile-curl.pc is missing. This causes issue in the downstream project.

Here's a reference: https://gitlab.com/hardenedlinux/artanis/-/issues/117

spk121 commented 9 months ago

Do you have an example of a Guile module pc file? I've never tried to make one.

NalaGinrut commented 9 months ago

I think a typical template could be this:

prefix=@prefix@
includedir=${prefix}/include
libdir=${prefix}/lib

Name: @PACKAGE_NAME@
Description: PUT YOUR DESCRIPTION HERE.
Version: @PACKAGE_VERSION@
Cflags: -I${includedir}
Libs: -L${libdir} -l@PACKAGE_NAME@
Requires: guile-3.0, libcurl
Requires.private:

You may need to name it as guile-curl.pc.in, and put it in configure.ac for generating actual pc file.