From b8a485ee5b176c068e212dde3c9c3ffbf9d433f3 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Thu, 9 Oct 2008 08:54:10 -0700 Subject: Added a pkg-config file --- AUTHORS | 1 + Makefile.am | 3 +++ configure.ac | 2 +- libiphone-1.0.pc.in | 12 ++++++++++++ 4 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 libiphone-1.0.pc.in 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} + -- cgit v1.1-32-gdbae