diff options
author | darmac <xiaojun2@hisilicon.com> | 2021-03-20 20:17:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-20 13:17:59 +0100 |
commit | aa79689c78104339e41b6d25218e84186a38dc10 (patch) | |
tree | 28dae003db51f55c59e08b280cd77cadb187836e /var | |
parent | 8a9af11403f5248cfe84dd1187e8cf18855155c6 (diff) | |
download | spack-aa79689c78104339e41b6d25218e84186a38dc10.tar.gz spack-aa79689c78104339e41b6d25218e84186a38dc10.tar.bz2 spack-aa79689c78104339e41b6d25218e84186a38dc10.tar.xz spack-aa79689c78104339e41b6d25218e84186a38dc10.zip |
libmbim: add new package (#22143)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/libmbim/package.py | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libmbim/package.py b/var/spack/repos/builtin/packages/libmbim/package.py new file mode 100644 index 0000000000..ff77ca3d1e --- /dev/null +++ b/var/spack/repos/builtin/packages/libmbim/package.py @@ -0,0 +1,32 @@ +# 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 Libmbim(AutotoolsPackage): + """Libmbim is a glib-based library for talking to WWAN modems and + devices which speak the Mobile Interface Broadband Model (MBIM) + protocol.""" + + homepage = "https://github.com/linux-mobile-broadband/libmbim/" + url = "https://github.com/linux-mobile-broadband/libmbim/archive/1.20.4.tar.gz" + + version('1.20.4', sha256='edb56afb862a7756dc097086d8fa791c93332f6f1daf27759eff6ddc99a0f50d') + version('1.18.0', sha256='47003bfdf78bf32009a1d917f30c063079fa5bd4afc739d6d8ec356070b270df') + version('1.16.2', sha256='06b7a9e8430c6ab213d96c71a71469aefc86deb52cffd5e4f75121d9a79545e2') + version('1.16.0', sha256='d123426678f415c2ac4544534ed8a9ff54d133c2ba8c982ce667b793e54f8e99') + version('1.14.4', sha256='4b2e8723ea50b2e1d22695850c40abb9f7bcb713ea3b9f91f2c350aaa6ae8d1c') + version('1.14.2', sha256='bf161c4f78327f8422fd6a820e7e5571d99b719af45429e581bfd6a1585fe4a8') + + depends_on('autoconf', type='build') + depends_on('automake', type='build') + depends_on('libtool', type='build') + depends_on('m4', type='build') + depends_on('glib@:2.62.0') + + def autoreconf(self, spec, prefix): + bash = which('bash') + bash('./autogen.sh') |