summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am3
-rw-r--r--configure.ac1
-rw-r--r--libusbmuxd-1.0.pc.in12
3 files changed, 16 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 43dc592..12e6a35 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,8 @@
SUBDIRS = src udev tools
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libusbmuxd-1.0.pc
+
indent:
indent -kr -ut -ts4 -l120 src/*.c src/*.h tools/*.c
diff --git a/configure.ac b/configure.ac
index 7c54416..ef9cbdd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -25,4 +25,5 @@ Makefile
src/Makefile
tools/Makefile
udev/Makefile
+libusbmuxd-1.0.pc
])
diff --git a/libusbmuxd-1.0.pc.in b/libusbmuxd-1.0.pc.in
new file mode 100644
index 0000000..84c5027
--- /dev/null
+++ b/libusbmuxd-1.0.pc.in
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: libusbmuxd
+Description: A library to communicate with the usbmux daemon
+Version: @VERSION@
+Requires: libusb >= 0.1.12
+Libs: -L${libdir} -lusbmuxd
+Cflags: -I${includedir}
+