2022-01-13 03:21:41 +08:00
|
|
|
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
|
2018-10-08 04:52:23 +08:00
|
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
2018-06-11 04:16:16 +08:00
|
|
|
#
|
2018-10-08 04:52:23 +08:00
|
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
2018-06-11 04:16:16 +08:00
|
|
|
from spack import *
|
|
|
|
|
|
|
|
|
|
|
|
class Axel(AutotoolsPackage):
|
|
|
|
"""Axel is a light command line download accelerator for Linux and Unix"""
|
|
|
|
|
|
|
|
homepage = "https://github.com/axel-download-accelerator/axel"
|
2021-10-02 05:48:33 +08:00
|
|
|
url = 'https://github.com/axel-download-accelerator/axel/releases/download/v2.17.10/axel-2.17.10.tar.bz2'
|
2018-06-11 04:16:16 +08:00
|
|
|
|
2021-10-02 05:48:33 +08:00
|
|
|
version('2.17.10', sha256='c0d26eba6b94945cd98c5b69ca6df2744639d17bfd49047ef51a8a48f067de10')
|
|
|
|
version('2.16.1', sha256='763066efc61e4f7be2eb59afa049bdbc520837e01c95a78f403e542ad82f2719')
|
2018-06-11 04:16:16 +08:00
|
|
|
|
2018-11-13 14:01:41 +08:00
|
|
|
depends_on('pkgconfig', type='build')
|
2021-10-02 05:48:33 +08:00
|
|
|
# For systems not providing libintl APU in the system libc (glibc integrated it)
|
2018-06-11 04:16:16 +08:00
|
|
|
depends_on('gettext')
|
|
|
|
depends_on('openssl')
|
2020-10-21 00:01:26 +08:00
|
|
|
|
2021-10-02 05:48:33 +08:00
|
|
|
def installcheck(self):
|
|
|
|
Executable(self.prefix.bin.axel)('--version')
|