Add pkg-config metadata files for libraries (#2680)

Should core, ext, libm, and/or port libraries be properly installed
on some system, help compilation and linking against them by
providing standard `.pc` files, which can be picked up by
pkg-config.

JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
Akos Kiss
2019-01-21 09:38:05 +01:00
committed by Robert Sipka
parent 67ef396354
commit 77767c2161
9 changed files with 77 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
prefix=@CMAKE_INSTALL_PREFIX@
libdir=${prefix}/lib
includedir=${prefix}/include
Name: libjerry-core
Description: JerryScript: lightweight JavaScript engine (core engine library)
URL: https://github.com/pando-project/jerryscript
Version: 1.0
Requires.private: @JERRY_CORE_PKGCONFIG_REQUIRES@ # NOTE: libjerry-port-default* is not added as a required package
Libs: -L${libdir} -ljerry-core
Libs.private: @JERRY_CORE_PKGCONFIG_LIBS@
Cflags: -I${includedir}