summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/libusbmuxd/package.py
blob: 48f64d0cf609479b5726c7cd5a2ec73835baeaaf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 2013-2021 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)

from spack import *


class Libusbmuxd(AutotoolsPackage):
    """A client library to multiplex connections from and to iOS devices."""

    homepage = "https://www.libimobiledevice.org/"
    url      = "https://www.libimobiledevice.org/downloads/libusbmuxd-1.0.10.tar.bz2"
    git      = "https://git.libimobiledevice.org/libusbmuxd.git"

    version('master', branch='master')
    version('1.0.10', sha256='1aa21391265d2284ac3ccb7cf278126d10d354878589905b35e8102104fec9f2')
    version('1.0.9',  sha256='2e3f708a3df30ad7832d2d2389eeb29f68f4e4488a42a20149cc99f4f9223dfc')

    depends_on('autoconf',   type='build', when='@master')
    depends_on('automake',   type='build', when='@master')
    depends_on('libtool',    type='build', when='@master')
    depends_on('pkgconfig',  type='build')
    depends_on('libplist')

    def configure_args(self):
        return [
            '--disable-dependency-tracking',
            '--disable-silent-rules'
        ]