summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am2
-rw-r--r--src/libideviceactivation-1.0.pc.in12
2 files changed, 14 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 0f0d807..703c66a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -8,3 +8,5 @@ libideviceactivation_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBIDEVICEACTIVA
libideviceactivation_la_SOURCES = \
activation.c
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libideviceactivation-1.0.pc
diff --git a/src/libideviceactivation-1.0.pc.in b/src/libideviceactivation-1.0.pc.in
new file mode 100644
index 0000000..017ac9d
--- /dev/null
+++ b/src/libideviceactivation-1.0.pc.in
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: @PACKAGE_NAME@
+Description: A library to handle activation and deactivation of iOS devices.
+Version: @PACKAGE_VERSION@
+Libs: -L${libdir} -lideviceactivation
+Cflags: -I${includedir}
+Requires: libplist >= @LIBPLIST_VERSION@ libimobiledevice-1.0 >= @LIBIMOBILEDEVICE_VERSION@
+Requires.private: libcurl >= @LIBCURL_VERSION@ libxml-2.0 >= @LIBXML2_VERSION@ \ No newline at end of file