diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2010-05-11 21:55:35 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2010-05-11 22:28:09 +0200 |
commit | 0862329b41482ce690e868a99db75e8830bf9877 (patch) | |
tree | 60fd8bfd7aca7c1e11db1f7054c8d620088c7463 | |
parent | 32e4aea0f87b0d3d4f8e37516edddc19f6f36889 (diff) | |
download | libsigrokdecode-0862329b41482ce690e868a99db75e8830bf9877.tar.gz libsigrokdecode-0862329b41482ce690e868a99db75e8830bf9877.zip |
pkg-config: Add libsigrokdecode.pc.
-rw-r--r-- | Makefile.am | 3 | ||||
-rw-r--r-- | libsigrokdecode.pc.in | 13 |
2 files changed, 16 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 6aac2c1..e47170c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -29,3 +29,6 @@ libsigrokdecode_la_LDFLAGS = $(LDFLAGS_PYTHON) include_HEADERS = sigrokdecode.h +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = libsigrokdecode.pc + diff --git a/libsigrokdecode.pc.in b/libsigrokdecode.pc.in new file mode 100644 index 0000000..2fecec6 --- /dev/null +++ b/libsigrokdecode.pc.in @@ -0,0 +1,13 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: libsigrokdecode +Description: Protocol decoder library of the sigrok logic analyzer software +URL: http://www.sigrok.org +Requires: +Version: @VERSION@ +Libs: -L${libdir} -lsigrokdecode +Cflags: -I${includedir} + |