| 1 |
# Copyright 2022 Jeffrey Kegler |
| 2 |
# Permission is hereby granted, free of charge, to any person obtaining a |
| 3 |
# copy of this software and associated documentation files (the "Software"), |
| 4 |
# to deal in the Software without restriction, including without limitation |
| 5 |
# the rights to use, copy, modify, merge, publish, distribute, sublicense, |
| 6 |
# and/or sell copies of the Software, and to permit persons to whom the |
| 7 |
# Software is furnished to do so, subject to the following conditions: |
| 8 |
# |
| 9 |
# The above copyright notice and this permission notice shall be included |
| 10 |
# in all copies or substantial portions of the Software. |
| 11 |
# |
| 12 |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 13 |
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 14 |
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
| 15 |
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR |
| 16 |
# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
| 17 |
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
| 18 |
# OTHER DEALINGS IN THE SOFTWARE. |
| 19 |
|
| 20 |
# this template is filled-in by CMake `configure_file(... @ONLY)` |
| 21 |
# the `@....@` are filled in by CMake configure_file(), |
| 22 |
# from variables set in your CMakeLists.txt or by CMake itself |
| 23 |
# |
| 24 |
# Good tutoral for understanding .pc files: |
| 25 |
# https://people.freedesktop.org/~dbn/pkg-config-guide.html |
| 26 |
# |
| 27 |
# The libmarpa repo is intended, and this file is set up for, use by |
| 28 |
# packaging developers, and therefore the ultimate installation destinations |
| 29 |
# are unpredictable. In the name of caution, the prefix variable is set |
| 30 |
# to a relative location. A downstream package using libmarpa is likely |
| 31 |
# to want to modify this file to change the prefix variable. |
| 32 |
# |
| 33 |
# It is also possible to change the prefix value on the pkg-config |
| 34 |
# command line using the "define-variable" option: |
| 35 |
# |
| 36 |
# pkg-config --define-variable=prefix=/your/prefix --variable=includedir libmarpa |
| 37 |
|
| 38 |
prefix="." |
| 39 |
exec_prefix="${prefix}" |
| 40 |
libdir="${prefix}/lib" |
| 41 |
includedir="${prefix}/include" |
| 42 |
|
| 43 |
Name: @PROJECT_NAME@ |
| 44 |
Description: @CMAKE_PROJECT_DESCRIPTION@ |
| 45 |
URL: @CMAKE_PROJECT_HOMEPAGE_URL@ |
| 46 |
Version: @PROJECT_VERSION@ |
| 47 |
Cflags: -I"${includedir}" |
| 48 |
Libs: -L"${libdir}" -lmarpa |