From b9adbac5c67670116c14b1f1344fb17a8af1c7ae Mon Sep 17 00:00:00 2001 From: Isaac Whitfield Date: Thu, 20 Aug 2020 02:22:04 -0700 Subject: [PATCH] libimobiledevice: new package (#10819) --- .../packages/libimobiledevice/package.py | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 var/spack/repos/builtin/packages/libimobiledevice/package.py 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' + ]