]> sigrok.org Git - libsigrok.git/commitdiff
pkg-config: Add (semi-generated) libsigrok.pc.
authorUwe Hermann <redacted>
Tue, 11 May 2010 16:07:54 +0000 (18:07 +0200)
committerUwe Hermann <redacted>
Tue, 11 May 2010 20:28:09 +0000 (22:28 +0200)
Makefile.am
libsigrok.pc.in [new file with mode: 0644]

index 935c20a3d687a88e002c211397291468cb4b3317..2d080f868ed5676af1339d844f318e969ac5a6a1 100644 (file)
@@ -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 (file)
index 0000000..e0a4182
--- /dev/null
@@ -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}
+