Skip to content

Commit

Permalink
Merge pull request easybuilders#21607 from maxim-masterov/gnuplot-2024a
Browse files Browse the repository at this point in the history
{lang,lib,vis}[GCCcore/13.3.0] gnuplot v6.0.1, Lua v5.4.7, libgd v2.3.3
  • Loading branch information
SebastianAchilles authored Nov 13, 2024
2 parents 7711164 + 8fb9eb7 commit df6a3af
Show file tree
Hide file tree
Showing 3 changed files with 115 additions and 0 deletions.
51 changes: 51 additions & 0 deletions easybuild/easyconfigs/g/gnuplot/gnuplot-6.0.1-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
easyblock = 'ConfigureMake'

name = 'gnuplot'
version = '6.0.1'

homepage = 'http://gnuplot.sourceforge.net'
description = "Portable interactive, function plotting utility"

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

source_urls = [('https://sourceforge.net/projects/%(name)s/files/%(name)s/%(version)s', 'download')]
sources = [SOURCE_TAR_GZ]
checksums = ['e85a660c1a2a1808ff24f7e69981ffcbac66a45c9dcf711b65610b26ea71379a']

builddependencies = [
('binutils', '2.42'),
('pkgconf', '2.2.0'),
('Autotools', '20231222'),
]
dependencies = [
('ncurses', '6.5'),
('cairo', '1.18.0'),
('libjpeg-turbo', '3.0.1'),
('libpng', '1.6.43'),
('libgd', '2.3.3'),
('Pango', '1.54.0'),
('libcerf', '2.4'),
('X11', '20240607'),
('Qt6', '6.7.2'),
('Lua', '5.4.7'),
]

preconfigopts = 'autoreconf && '

# make sure that right Lua library is used (bypassing pkg-config)
preconfigopts += 'export LUA_CFLAGS="-I$EBROOTLUA/include" && export LUA_LIBS="$EBROOTLUA/lib/liblua.a" && '

# fix undefined reference to symbol 'libiconv_open'
preconfigopts += ' export LDFLAGS="-Wl,--copy-dt-needed-entries" && '

configopts = "--without-latex --disable-wxwidgets"

sanity_check_paths = {
'files': ['bin/%(name)s'],
'dirs': [],
}

# make sure that pdf terminal type is available
sanity_check_commands = ["%(name)s -e 'set terminal pdf'"]

moduleclass = 'vis'
28 changes: 28 additions & 0 deletions easybuild/easyconfigs/l/Lua/Lua-5.4.7-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name = 'Lua'
version = '5.4.7'

homepage = 'https://www.lua.org/'
description = """Lua is a powerful, fast, lightweight, embeddable scripting language.
Lua combines simple procedural syntax with powerful data description constructs based
on associative arrays and extensible semantics. Lua is dynamically typed,
runs by interpreting bytecode for a register-based virtual machine,
and has automatic memory management with incremental garbage collection,
making it ideal for configuration, scripting, and rapid prototyping."""

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

source_urls = ['https://www.%(namelower)s.org/ftp/']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['9fbf5e28ef86c69858f6d3d34eccc32e911c1a28b4120ff3e84aaa70cfbf1e30']

builddependencies = [
('binutils', '2.42'),
]
dependencies = [
('ncurses', '6.5'),
('libreadline', '8.2'),
]


moduleclass = 'lang'
36 changes: 36 additions & 0 deletions easybuild/easyconfigs/l/libgd/libgd-2.3.3-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
easyblock = 'ConfigureMake'

name = 'libgd'
version = '2.3.3'

homepage = 'https://libgd.github.io'
description = "GD is an open source code library for the dynamic creation of images by programmers."

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

source_urls = ['https://github.com/%(name)s/%(name)s/releases/download/gd-%(version)s/']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['dd3f1f0bb016edcc0b2d082e8229c822ad1d02223511997c80461481759b1ed2']

builddependencies = [
('binutils', '2.42'),
]
dependencies = [
('fontconfig', '2.15.0'),
('libjpeg-turbo', '3.0.1'),
('libpng', '1.6.43'),
('zlib', '1.3.1'),
]

configopts = "--with-fontconfig=$EBROOTFONTCONFIG --with-jpeg=$EBROOTLIBJPEGMINTURBO "
configopts += "--with-png=$EBROOTLIBPNG --with-zlib=$EBROOTZLIB"

sanity_check_paths = {
'files': ['lib/%(name)s.a', 'lib/%(name)s.so'],
'dirs': ['bin', 'include'],
}

sanity_check_commands = ['webpng --help']

moduleclass = 'lib'

0 comments on commit df6a3af

Please sign in to comment.