summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--AUTHORS1
-rw-r--r--Makefile.am3
-rw-r--r--configure.ac2
-rw-r--r--libiphone-1.0.pc.in12
4 files changed, 17 insertions, 1 deletions
diff --git a/AUTHORS b/AUTHORS
index 0d4f745..18eedb0 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -5,3 +5,4 @@ Martin Aumueller
Christophe Fergeau
Martin S.
Paul Sladen
+Patrick Walton
diff --git a/Makefile.am b/Makefile.am
index 2ab7661..4ce113c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,9 @@
AUTOMAKE_OPTIONS = foreign
SUBDIRS = src include
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libiphone-1.0.pc
+
doc:
doxygen doxygen.cfg
diff --git a/configure.ac b/configure.ac
index 738846e..bfb0378 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,4 +38,4 @@ AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_CHECK_FUNCS([strcasecmp strdup strerror strndup])
-AC_OUTPUT(Makefile src/Makefile include/Makefile)
+AC_OUTPUT(Makefile src/Makefile include/Makefile libiphone-1.0.pc)
diff --git a/libiphone-1.0.pc.in b/libiphone-1.0.pc.in
new file mode 100644
index 0000000..c496464
--- /dev/null
+++ b/libiphone-1.0.pc.in
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: libiphone
+Description: A library to communicate with the Lockdown server on the iPhone
+Version: @VERSION@
+Requires: libxml-2.0 >= 2.6.30 libusb >= 0.1.12 glib-2.0 >= 2.14.1 gthread-2.0 >= 2.14.1 gnutls >= 1.6.3 libtasn1 >= 1.1
+Libs: -L${libdir} -liphone
+Cflags: -I${includedir}
+