mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-03 13:51:32 +01:00
new file: p/PWTK/PWTK-3.2.eb
new file: t/tcl-thread/tcl-thread-2.8.8-GCCcore-13.2.0.eb new file: t/tcl-thread/tcl-thread-2.8.8-fix_pkgdir.patch new file: t/tclreadline/tclreadline-2.4.0-GCCcore-13.2.0.eb
This commit is contained in:
parent
45a4f329f9
commit
a27a876f39
45
p/PWTK/PWTK-3.2.eb
Normal file
45
p/PWTK/PWTK-3.2.eb
Normal file
@ -0,0 +1,45 @@
|
||||
# IT4Innovations
|
||||
# PH 2025
|
||||
|
||||
easyblock = 'Tarball'
|
||||
|
||||
name = 'PWTK'
|
||||
version = '3.2'
|
||||
|
||||
homepage = 'http://pwtk.ijs.si/'
|
||||
description = "PWTK (Plane-Wave Toolkit) is a script environment for running and managing plane-wave DFT calculations."
|
||||
|
||||
toolchain = SYSTEM # No compilation required
|
||||
|
||||
source_urls = ['http://pwtk.ijs.si/download/']
|
||||
sources = [f'pwtk-{version}.tar.gz']
|
||||
|
||||
checksums = [
|
||||
'51c7bb3ed714293871cb6544fe5a8f65659e7084fc3351721fa0a70e226b5842' # pwtk-3.2.tar.gz
|
||||
]
|
||||
|
||||
dependencies = [
|
||||
('Tcl', '8.6.13', '-GCCcore-13.2.0', True),
|
||||
('tclreadline', '2.4.0', '-GCCcore-13.2.0', True),
|
||||
('tcl-thread', '2.8.8', '-GCCcore-13.2.0', True),
|
||||
]
|
||||
|
||||
sanity_check_paths = {
|
||||
'files': ['pwtk'],
|
||||
'dirs': [],
|
||||
}
|
||||
|
||||
preinstall_cmd = 'rm %(builddir)s/pwtk-3.2/doc/pwtk-slides.pdf' # Remove broken symlink
|
||||
|
||||
modextrapaths = {'PATH': ''}
|
||||
|
||||
# Add TCLLIBPATH for runtime environment
|
||||
modextravars = {
|
||||
'TCLLIBPATH': '/apps/all/tclreadline/2.4.0-GCCcore-13.2.0/lib',
|
||||
}
|
||||
|
||||
sanity_check_commands = [
|
||||
'pwtk --help',
|
||||
]
|
||||
|
||||
moduleclass = 'tools'
|
35
t/tcl-thread/tcl-thread-2.8.8-GCCcore-13.2.0.eb
Normal file
35
t/tcl-thread/tcl-thread-2.8.8-GCCcore-13.2.0.eb
Normal file
@ -0,0 +1,35 @@
|
||||
# IT4Innovations
|
||||
# PH 2025
|
||||
|
||||
easyblock = 'ConfigureMake'
|
||||
|
||||
name = 'tcl-thread'
|
||||
version = '2.8.8'
|
||||
|
||||
homepage = 'https://openacs.org/xowiki/libthread'
|
||||
description = """Libthread is the standard Tcl thread library, providing functionality to create and manage threads
|
||||
in Tcl. It enables event loop-based threads and enhances Tcl applications such as OpenACS, xotcl-core, and others."""
|
||||
|
||||
toolchain = {'name': 'GCCcore', 'version': '13.2.0'}
|
||||
|
||||
# https://downloads.sourceforge.net/sourceforge/tcl/thread2.8.8.tar.gz
|
||||
source_urls = ['https://downloads.sourceforge.net/sourceforge/tcl/']
|
||||
sources = [f'thread{version}.tar.gz']
|
||||
patches = [
|
||||
('tcl-thread-2.8.8-fix_pkgdir.patch')
|
||||
]
|
||||
|
||||
checksums = [
|
||||
'35db93f681317942f31dfa0bddea01a464b1d83ada22db7707a1919ba780f091', # thread2.8.8.tar.gz
|
||||
'5a1f75edf183be64cf0d07af21693588fff013697e722410407a98c698e6ac10', # tcl-thread-2.8.8-fix_pkgdir.patch
|
||||
]
|
||||
|
||||
configopts = '--libdir=/apps/all/tcl-thread/2.8.8-GCCcore-13.2.0'
|
||||
|
||||
sanity_check_paths = {
|
||||
'files': ['lib/libthread2.8.8.so'],
|
||||
'dirs': ['share/man/mann'],
|
||||
}
|
||||
|
||||
moduleclass = 'tools'
|
||||
|
15
t/tcl-thread/tcl-thread-2.8.8-fix_pkgdir.patch
Normal file
15
t/tcl-thread/tcl-thread-2.8.8-fix_pkgdir.patch
Normal file
@ -0,0 +1,15 @@
|
||||
# IT4Innovations
|
||||
# PH 2025
|
||||
fix of PKG_DIR
|
||||
diff -ruN thread2.8.8.orig/Makefile.in thread2.8.8/Makefile.in
|
||||
--- thread2.8.8.orig/Makefile.in 2022-11-04 14:16:13.000000000 +0100
|
||||
+++ thread2.8.8/Makefile.in 2025-01-21 14:33:33.882740661 +0100
|
||||
@@ -81,7 +81,7 @@
|
||||
|
||||
DESTDIR =
|
||||
|
||||
-PKG_DIR = $(PACKAGE_NAME)$(PACKAGE_VERSION)
|
||||
+PKG_DIR = /lib
|
||||
pkgdatadir = $(datadir)/$(PKG_DIR)
|
||||
pkglibdir = $(libdir)/$(PKG_DIR)
|
||||
pkgincludedir = $(includedir)/$(PKG_DIR)
|
53
t/tclreadline/tclreadline-2.4.0-GCCcore-13.2.0.eb
Normal file
53
t/tclreadline/tclreadline-2.4.0-GCCcore-13.2.0.eb
Normal file
@ -0,0 +1,53 @@
|
||||
# IT4Innovations
|
||||
# PH 2025
|
||||
|
||||
easyblock = 'ConfigureMake'
|
||||
|
||||
name = 'tclreadline'
|
||||
version = '2.4.0'
|
||||
|
||||
homepage = 'https://github.com/flightaware/tclreadline'
|
||||
description = "tclreadline connects Tcl with GNU readline for interactive scripting."
|
||||
|
||||
toolchain = {'name': 'GCCcore', 'version': '13.2.0'}
|
||||
|
||||
# https://github.com/flightaware/tclreadline/archive/refs/tags/v2.4.0.tar.gz
|
||||
source_urls = ['https://github.com/flightaware/tclreadline/archive/refs/tags/']
|
||||
sources = [f'v{version}.tar.gz']
|
||||
|
||||
checksums = [
|
||||
'306f9a72ef3ad9ff7a8549f1c616edef5365b98bce7e62fdde6e595355c0faee' # v2.4.0.tar.gz
|
||||
]
|
||||
|
||||
|
||||
dependencies = [
|
||||
('Tcl', '8.6.13'),
|
||||
('Tk', '8.6.13'),
|
||||
('libreadline', '8.2')
|
||||
]
|
||||
|
||||
builddependencies = [
|
||||
('libtool', '2.4.7'),
|
||||
('Automake', '1.16.5'),
|
||||
('Autoconf', '2.71'),
|
||||
]
|
||||
|
||||
preconfigopts = './autogen.sh'
|
||||
|
||||
|
||||
configopts = '--with-tcl=/apps/all/Tcl/8.6.13-GCCcore-13.2.0/lib '
|
||||
configopts += '--with-tk=/apps/all/Tk/8.6.13-GCCcore-13.2.0/lib '
|
||||
configopts += '--with-readline-includes=/apps/all/libreadline/8.2-GCCcore-13.2.0/include/readline '
|
||||
configopts += '--enable-tclshrl --enable-wishrl '
|
||||
|
||||
sanity_check_paths = {
|
||||
'files': ['lib/libtclreadline.so','lib/libtclreadline-2.4.0.so','share/man/mann/tclreadline.n'],
|
||||
'dirs': ['lib/tclreadline2.4.0'],
|
||||
}
|
||||
|
||||
sanity_check_commands = [
|
||||
'tclshrl --version',
|
||||
'wishrl --version',
|
||||
]
|
||||
|
||||
moduleclass = 'tools'
|
Loading…
x
Reference in New Issue
Block a user