diff options
| author | Vadim Yanitskiy <axilirator@gmail.com> | 2017-08-31 01:41:26 +0700 |
|---|---|---|
| committer | Vadim Yanitskiy <axilirator@gmail.com> | 2017-12-31 12:20:59 +0100 |
| commit | 40d59f14a240e943205fafe7d2449b286d3b4913 (patch) | |
| tree | b3a94e423e498b51d0bef6876b3b3397d4d73469 | |
| parent | 5f941573b0040c1b27014b4756155c86fe896b9f (diff) | |
Add a pkg-config manifest for libosmogapk
In order to make pkg-config 'see' the libosmogapk, a corresponding
package description is required. For more details, see:
https://autotools.io/pkgconfig/file-format.html
| -rw-r--r-- | .gitignore | 3 | ||||
| -rw-r--r-- | Makefile.am | 3 | ||||
| -rw-r--r-- | configure.ac | 1 | ||||
| -rw-r--r-- | libosmogapk.pc.in | 11 |
4 files changed, 17 insertions, 1 deletions
@@ -3,7 +3,7 @@ autoscan-2.*.log configure.scan # autoreconf by-products -*.in +Makefile.in aclocal.m4 autom4te.cache/ @@ -18,6 +18,7 @@ m4/ missing # configure by-products +*.pc .deps Makefile diff --git a/Makefile.am b/Makefile.am index d1638ec..4242427 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,9 @@ AUTOMAKE_OPTIONS = foreign dist-bzip2 1.6 ACLOCAL_AMFLAGS = -I m4 +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = libosmogapk.pc + AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include SUBDIRS = include diff --git a/configure.ac b/configure.ac index 85d722d..901a3d6 100644 --- a/configure.ac +++ b/configure.ac @@ -17,6 +17,7 @@ AC_CONFIG_FILES([ libgsmhr/Makefile include/Makefile include/gsmhr/Makefile + libosmogapk.pc ]) # Options diff --git a/libosmogapk.pc.in b/libosmogapk.pc.in new file mode 100644 index 0000000..df27402 --- /dev/null +++ b/libosmogapk.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: Osmocom GSM Audio Transcoding Library +Description: C Utility Library +Requires: libosmocore, libosmocodec +Version: @VERSION@ +Libs: -L${libdir} -losmogapk +Cflags: -I${includedir}/ |
