Skip to content

[wget] [package list]

wget/1.21.2-cpeGNU-21.12 (wget-1.21.2-cpeGNU-21.12.eb)

This software is archived in the LUMI-SoftwareStack GitHub repository as easybuild/easyconfigs/__archive__/w/wget/wget-1.21.2-cpeGNU-21.12.eb. The corresponding module would be wget/1.21.2-cpeGNU-21.12.

# Installation test before inclusion in the baselibs 2020a bundle.
easyblock = 'ConfigureMake'

local_zlib_version =         '1.2.11'        # https://zlib.net/
local_libidn2_version =      '2.3.2'         # https://ftp.gnu.org/gnu/libidn/
local_PCRE2_version =        '10.37'         # https://ftp.pcre.org/pub/pcre/
local_wget_version =         '1.21.2'        # https://ftp.gnu.org/gnu/wget/

name =    'wget'
version = local_wget_version

homepage = 'https://www.gnu.org/software/%(name)s/'

whatis = [
    "Description: wget - GNU wget, a free software package for retrieving files using HTTP, HTTPS and FTP"
]

description = """
GNU Wget is a free software package for retrieving files using HTTP, HTTPS and FTP,
the most widely-used Internet protocols. It is a non-interactive command line tool,
so it may easily be called from scripts, cron jobs, terminals without X-Windows support, etc.
"""

docurls = [
    "Man page for the wget command (section 1)",
    "Support for the info command (info wget)",
    "Web-based manuals on https://www.gnu.org/software/wget/manual/",
]

toolchain = {'name': 'cpeGNU', 'version': '21.12'}

source_urls = [GNU_SOURCE]
sources =     [SOURCE_TAR_GZ]
checksums =   ['e6d4c76be82c676dd7e8c61a29b2ac8510ae108a810b5d1d18fc9a1d2c9a2497']

builddependencies = [ # Create a reproducible build environment.
    ('buildtools', '%(toolchain_version)s', '', True),
]

dependencies = [
    ('zlib',    local_zlib_version),
    ('libidn2', local_libidn2_version),
    ('PCRE2',   local_PCRE2_version),
    # OS dependency should be preferred if the os version is more recent then this version,
    # it's nice to have an up to date openssl for security reasons
    # ('OpenSSL', '1.0.1s'),
    # OS dependency should be preferred if the os version is more recent then this version,
    # it's nice to have an up to date gnutls for security reasons
    # ('GnuTLS', '3.4.11'),
]

osdependencies = [
    ('openssl-devel', 'libssl-dev', 'libopenssl-devel'),
    # Optionally, you can use gnutls (default) instead of OpenSSL.
    # Do not forget to comment out configopts in that case.
    # osdependencies = [('gnutls-devel', 'gnutls-dev', 'libgnutls-devel')]
]

# make sure pkg-config picks up system packages (OpenSSL & co)
preconfigopts = "export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib64/pkgconfig:/usr/lib/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig && "
configopts =    '--with-ssl=openssl '

sanity_check_paths = {
    'files': ['bin/%(name)s', 'etc/wgetrc', 'share/man/man1/wget.1', 'share/info/wget.info'],
    'dirs':  []
}

sanity_check_commands = [
    'wget -V',
]

modextrapaths = {
    'INFOPATH' : 'share/info',
}

moduleclass = 'devel'

[wget] [package list]