snowballstem / snowball

Snowball compiler and stemming algorithms
https://snowballstem.org/
BSD 3-Clause "New" or "Revised" License
748 stars 173 forks source link

Add pkgconfig file #190

Open rossburton opened 8 months ago

rossburton commented 8 months ago

Now that snowball builds a shared library a pkgconfig file to find the library would be much appreciated.

ojwb commented 8 months ago

Snowball doesn't yet build a shared library (there are patches floating around for it, but nothing in a suitable state for merging yet).

eli-schwartz commented 8 months ago

Snowball also still doesn't install anything... people who are distributing a shared library have to manually cp the library into /usr/lib64 or wherever.

ojwb commented 8 months ago

Snowball also still doesn't install anything

Yes, but that's literally a separate issue (#189) - please don't mix discussions.

eli-schwartz commented 8 months ago

It really is not a separate thing, though. It's a prerequisite. A pkg-config file has to include the path that the library and header file is installed to, it cannot do that unless it is in fact installed.