summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/libimobiledevice/package.py32
1 files changed, 32 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libimobiledevice/package.py b/var/spack/repos/builtin/packages/libimobiledevice/package.py
new file mode 100644
index 0000000000..222b03859d
--- /dev/null
+++ b/var/spack/repos/builtin/packages/libimobiledevice/package.py
@@ -0,0 +1,32 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+class Libimobiledevice(AutotoolsPackage):
+ """Library to communicate with iOS devices natively."""
+
+ homepage = "https://www.libimobiledevice.org/"
+ url = "https://www.libimobiledevice.org/downloads/libimobiledevice-1.2.0.tar.bz2"
+ git = "https://git.libimobiledevice.org/libimobiledevice.git"
+
+ version('master', branch='master')
+ version('1.2.0', sha256='786b0de0875053bf61b5531a86ae8119e320edab724fc62fe2150cc931f11037')
+
+ depends_on('autoconf', type='build', when='@master')
+ depends_on('automake', type='build', when='@master')
+ depends_on('libtool', type='build', when='@master')
+ depends_on('pkg-config', type='build')
+ depends_on('libplist')
+ depends_on('libtasn1')
+ depends_on('libusbmuxd')
+ depends_on('openssl')
+
+ def configure_args(self):
+ return [
+ '--disable-dependency-tracking',
+ '--disable-silent-rules',
+ '--enable-debug-code',
+ '--without-cython'
+ ]