From: Uwe Hermann Date: Tue, 11 May 2010 16:07:54 +0000 (+0200) Subject: pkg-config: Add (semi-generated) libsigrok.pc. X-Git-Tag: libsigrok-0.1.0~501 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=d658e348a89c5dd3d248abdbbdf5423465a2d344;p=libsigrok.git pkg-config: Add (semi-generated) libsigrok.pc. --- diff --git a/Makefile.am b/Makefile.am index 935c20a3..2d080f86 100644 --- a/Makefile.am +++ b/Makefile.am @@ -53,3 +53,6 @@ libsigrok_la_LIBADD = $(LIBOBJS) include_HEADERS = sigrok.h +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = libsigrok.pc + diff --git a/libsigrok.pc.in b/libsigrok.pc.in new file mode 100644 index 00000000..e0a41826 --- /dev/null +++ b/libsigrok.pc.in @@ -0,0 +1,13 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: libsigrok +Description: Backend library of the sigrok logic analyzer software +URL: http://www.sigrok.org +Requires: +Version: @VERSION@ +Libs: -L${libdir} -lsigrok +Cflags: -I${includedir} +