summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am3
-rw-r--r--src/libimobiledevice-1.0.pc.in12
2 files changed, 15 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index e45437b..da60386 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -34,3 +34,6 @@ if WIN32
libimobiledevice_la_LDFLAGS += -avoid-version
libimobiledevice_la_LIBADD += -lole32 -lws2_32
endif
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libimobiledevice-1.0.pc
diff --git a/src/libimobiledevice-1.0.pc.in b/src/libimobiledevice-1.0.pc.in
new file mode 100644
index 0000000..dfcdd8a
--- /dev/null
+++ b/src/libimobiledevice-1.0.pc.in
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: @PACKAGE_NAME@
+Description: A library to communicate with services running on Apple iOS devices.
+Version: @PACKAGE_VERSION@
+Libs: -L${libdir} -limobiledevice
+Cflags: -I${includedir}
+Requires: libplist >= @LIBPLIST_VERSION@
+Requires.private: libusbmuxd >= @LIBUSBMUXD_VERSION@ @ssl_requires@ \ No newline at end of file