Skip to content

Commit

Permalink
Merge pull request #20574 from SebastianAchilles/20240521163730_new_p…
Browse files Browse the repository at this point in the history
…r_CMake3293

{tools}[GCCcore/13.3.0] CMake v3.29.3, bzip2 v1.0.8, cURL v8.7.1, libarchive v3.7.4, UnZip v6.0
  • Loading branch information
lexming committed May 22, 2024
2 parents 601ef9d + 2e40820 commit 072bc1a
Show file tree
Hide file tree
Showing 5 changed files with 194 additions and 0 deletions.
27 changes: 27 additions & 0 deletions easybuild/easyconfigs/b/bzip2/bzip2-1.0.8-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name = 'bzip2'
version = '1.0.8'

homepage = 'https://sourceware.org/bzip2'
description = """
bzip2 is a freely available, patent free, high-quality data compressor. It
typically compresses files to within 10% to 15% of the best available
techniques (the PPM family of statistical compressors), whilst being around
twice as fast at compression and six times faster at decompression.
"""

toolchain = {'name': 'GCCcore', 'version': '13.3.0'}
toolchainopts = {'pic': True}

source_urls = ['https://sourceware.org/pub/%(name)s/']
sources = [SOURCE_TAR_GZ]
patches = ['bzip2-%(version)s-pkgconfig.patch']
checksums = [
'ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269', # bzip2-1.0.8.tar.gz
'9299e8ee4d014ea973777b6ea90661fe329dfa991f822add4c763ea9ddb9aab1', # bzip2-1.0.8-pkgconfig.patch
]

builddependencies = [
('binutils', '2.42'),
]

moduleclass = 'tools'
30 changes: 30 additions & 0 deletions easybuild/easyconfigs/c/CMake/CMake-3.29.3-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name = 'CMake'
version = '3.29.3'

homepage = 'https://www.cmake.org'

description = """
CMake, the cross-platform, open-source build system. CMake is a family of
tools designed to build, test and package software.
"""

toolchain = {'name': 'GCCcore', 'version': '13.3.0'}

source_urls = ['https://www.cmake.org/files/v%(version_major_minor)s']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['252aee1448d49caa04954fd5e27d189dd51570557313e7b281636716a238bccb']

builddependencies = [
('binutils', '2.42'),
]

dependencies = [
('ncurses', '6.5'),
('zlib', '1.3.1'),
('bzip2', '1.0.8'),
('cURL', '8.7.1'),
('libarchive', '3.7.4'),
('OpenSSL', '3', '', SYSTEM),
]

moduleclass = 'devel'
43 changes: 43 additions & 0 deletions easybuild/easyconfigs/c/cURL/cURL-8.7.1-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
easyblock = 'ConfigureMake'

name = 'cURL'
version = '8.7.1'

homepage = 'https://curl.haxx.se'

description = """
libcurl is a free and easy-to-use client-side URL transfer library,
supporting DICT, FILE, FTP, FTPS, Gopher, HTTP, HTTPS, IMAP, IMAPS, LDAP,
LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMTP, SMTPS, Telnet and TFTP.
libcurl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP
form based upload, proxies, cookies, user+password authentication (Basic,
Digest, NTLM, Negotiate, Kerberos), file transfer resume, http proxy tunneling
and more.
"""

toolchain = {'name': 'GCCcore', 'version': '13.3.0'}

source_urls = ['https://curl.haxx.se/download/']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['f91249c87f68ea00cf27c44fdfa5a78423e41e71b7d408e5901a9896d905c495']

builddependencies = [
('binutils', '2.42'),
]

dependencies = [
('zlib', '1.3.1'),
('OpenSSL', '3', '', SYSTEM),
]

configopts = '--with-zlib '
configopts += '--with-ssl=$EBROOTOPENSSL '

modextravars = {'CURL_INCLUDES': '%(installdir)s/include'}

sanity_check_paths = {
'files': ['bin/curl', 'lib/libcurl.a', 'lib/libcurl.%s' % SHLIB_EXT],
'dirs': ['lib/pkgconfig', 'include/curl'],
}

moduleclass = 'tools'
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
easyblock = 'ConfigureMake'

name = 'libarchive'
version = '3.7.4'

homepage = 'https://www.libarchive.org/'

description = """
Multi-format archive and compression library
"""

toolchain = {'name': 'GCCcore', 'version': '13.3.0'}

source_urls = ['https://www.libarchive.org/downloads/']
sources = [SOURCE_TAR_GZ]
checksums = [
{'libarchive-3.7.4.tar.gz': '7875d49596286055b52439ed42f044bd8ad426aa4cc5aabd96bfe7abb971d5e8'},
]

builddependencies = [
('binutils', '2.42'),
]

dependencies = [
('zlib', '1.3.1'),
('XZ', '5.4.5'),
('OpenSSL', '3', '', SYSTEM),
]

sanity_check_paths = {
'files': ['include/archive.h', 'lib/libarchive.%s' % SHLIB_EXT],
'dirs': ['bin', 'share/man/man3'],
}

moduleclass = 'tools'
59 changes: 59 additions & 0 deletions easybuild/easyconfigs/u/UnZip/UnZip-6.0-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
easyblock = 'ConfigureMake'

name = 'UnZip'
version = '6.0'

homepage = 'http://www.info-zip.org/UnZip.html'
description = """UnZip is an extraction utility for archives compressed
in .zip format (also called "zipfiles"). Although highly compatible both
with PKWARE's PKZIP and PKUNZIP utilities for MS-DOS and with Info-ZIP's
own Zip program, our primary objectives have been portability and
non-MSDOS functionality."""

toolchain = {'name': 'GCCcore', 'version': '13.3.0'}

source_urls = ['https://download.sourceforge.net/infozip']
sources = ['%(namelower)s%(version_major)s%(version_minor)s.tar.gz']
patches = [
'UnZip-%(version)s_various-security-and-other-fixes-from-Ubuntu.patch',
]
checksums = [
'036d96991646d0449ed0aa952e4fbe21b476ce994abc276e49d30e686708bd37', # unzip60.tar.gz
# UnZip-6.0_various-security-and-other-fixes-from-Ubuntu.patch
'06b9307fd5aa018896bd4126818c00c1fd284a06cc3681cf0492f951ebb57ffe',
]

builddependencies = [
('binutils', '2.42'),
]

dependencies = [
('bzip2', '1.0.8'),
]

skipsteps = ['configure']

local_cf = ['$CFLAGS', '$CPPFLAGS', '-I.', '-DACORN_FTYPE_NFS', '-DWILD_STOP_AT_DIR', '-DLARGE_FILE_SUPPORT'
'-DUNICODE_SUPPORT', '-DUNICODE_WCHAR', '-DUTF8_MAYBE_NATIVE', '-DNO_LCHMOD', '-DDATE_FORMAT=DF_YMD',
'-DUSE_BZIP2', '-DIZ_HAVE_UXUIDGID', '-DNOMEMCPY', '-DNO_WORKING_ISPRINT']

buildopts = ' '.join([
"-f unix/Makefile",
'CC="$CC"',
'D_USE_BZ2=-DUSE_BZIP2',
'L_BZ2=-lbz2',
'LF2="$LDFLAGS"',
'CF="%s"' % ' '.join(local_cf),
'unzips',
])

installopts = '-f unix/Makefile prefix=%(installdir)s '

sanity_check_paths = {
'files': ['bin/unzip', 'bin/zipinfo'],
'dirs': ['man/man1']
}

sanity_check_commands = ["unzip -v"]

moduleclass = 'tools'

0 comments on commit 072bc1a

Please sign in to comment.