summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2015-01-29 14:52:13 +0100
committerGravatar Martin Szulecki2015-01-29 14:52:13 +0100
commite48902162839ef1cae54ce86016059fcad5a7681 (patch)
tree9de56ee0d684da005e1b222172808aa77364a0f4 /src
parenta9f3a969ca924819297c634b438d38764ef56b1b (diff)
downloadlibideviceactivation-e48902162839ef1cae54ce86016059fcad5a7681.tar.gz
libideviceactivation-e48902162839ef1cae54ce86016059fcad5a7681.tar.bz2
Move pkg-config file into src directory
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