summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2020-06-08 15:12:54 +0200
committerGravatar Martin Szulecki2020-06-08 15:12:54 +0200
commit7f24d0ec98605c085ae030fec7a1d87ec675cad4 (patch)
tree98f6d7f99c8235807c2e77746bfb230f764fe6dd /src
parentb541420a9442c75e76b67b93431b60759d79937e (diff)
downloadlibirecovery-7f24d0ec98605c085ae030fec7a1d87ec675cad4.tar.gz
libirecovery-7f24d0ec98605c085ae030fec7a1d87ec675cad4.tar.bz2
Move pkg-config file into src directory as the standard recommends
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@