summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am3
-rw-r--r--src/libirecovery.pc.in11
2 files changed, 14 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 265c91a..e5dc9c1 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -19,3 +19,6 @@ libirecovery_la_SOURCES = libirecovery.c \
if WIN32
libirecovery_la_LDFLAGS += -avoid-version
endif
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libirecovery.pc
diff --git a/src/libirecovery.pc.in b/src/libirecovery.pc.in
new file mode 100644
index 0000000..11ac86a
--- /dev/null
+++ b/src/libirecovery.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: @PACKAGE_NAME@
+Description: A library to communicate with iBoot/iBSS on iOS devices via USB
+Version: @PACKAGE_VERSION@
+Libs: -L${libdir} -lirecovery
+Cflags: -I${includedir}
+Requires.private: @LIBUSB_REQUIRED@