diff options
| -rw-r--r-- | AUTHORS | 1 | ||||
| -rw-r--r-- | Makefile.am | 3 | ||||
| -rw-r--r-- | configure.ac | 2 | ||||
| -rw-r--r-- | libiphone-1.0.pc.in | 12 |
4 files changed, 17 insertions, 1 deletions
| @@ -5,3 +5,4 @@ Martin Aumueller | |||
| 5 | Christophe Fergeau | 5 | Christophe Fergeau |
| 6 | Martin S. | 6 | Martin S. |
| 7 | Paul Sladen | 7 | Paul Sladen |
| 8 | Patrick Walton | ||
diff --git a/Makefile.am b/Makefile.am index 2ab7661..4ce113c 100644 --- a/Makefile.am +++ b/Makefile.am | |||
| @@ -1,6 +1,9 @@ | |||
| 1 | AUTOMAKE_OPTIONS = foreign | 1 | AUTOMAKE_OPTIONS = foreign |
| 2 | SUBDIRS = src include | 2 | SUBDIRS = src include |
| 3 | 3 | ||
| 4 | pkgconfigdir = $(libdir)/pkgconfig | ||
| 5 | pkgconfig_DATA = libiphone-1.0.pc | ||
| 6 | |||
| 4 | doc: | 7 | doc: |
| 5 | doxygen doxygen.cfg | 8 | doxygen doxygen.cfg |
| 6 | 9 | ||
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 | |||
| 38 | AC_FUNC_REALLOC | 38 | AC_FUNC_REALLOC |
| 39 | AC_CHECK_FUNCS([strcasecmp strdup strerror strndup]) | 39 | AC_CHECK_FUNCS([strcasecmp strdup strerror strndup]) |
| 40 | 40 | ||
| 41 | AC_OUTPUT(Makefile src/Makefile include/Makefile) | 41 | 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 @@ | |||
| 1 | prefix=@prefix@ | ||
| 2 | exec_prefix=@exec_prefix@ | ||
| 3 | libdir=@libdir@ | ||
| 4 | includedir=@includedir@ | ||
| 5 | |||
| 6 | Name: libiphone | ||
| 7 | Description: A library to communicate with the Lockdown server on the iPhone | ||
| 8 | Version: @VERSION@ | ||
| 9 | 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 | ||
| 10 | Libs: -L${libdir} -liphone | ||
| 11 | Cflags: -I${includedir} | ||
| 12 | |||
