mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-07 23:42:12 +01:00
50 lines
1.3 KiB
Plaintext
50 lines
1.3 KiB
Plaintext
# IT4Innovations 2021
|
|
# JK, LK
|
|
|
|
easyblock = 'ConfigureMake'
|
|
|
|
name = 'Togl'
|
|
version = '2.0'
|
|
|
|
homepage = 'https://sourceforge.net/projects/togl/'
|
|
description = """A Tcl/Tk widget for OpenGL rendering."""
|
|
|
|
toolchain = {'name': 'GCCcore', 'version': '10.2.0'}
|
|
|
|
source_urls = ['https://downloads.sourceforge.net/project/togl/Togl/2.0/']
|
|
sources = ['%(name)s%(version)s-src.tar.gz']
|
|
patches = [
|
|
'Togl-2.0_configure.patch',
|
|
'Togl-2.0_decl.patch',
|
|
]
|
|
checksums = [
|
|
'b7d4a90bbad3aca618d505ee99e7fd8fb04c829f63231dda2360f557ba3f7610', # Togl2.0-src.tar.gz
|
|
'da97f36b60cd107444cd92453809135b14dc1e8775146b3ba0731da8002e6f9f', # Togl-2.0_configure.patch
|
|
'05db6b3ca5139f60616d074903883a3070fcfb1eb8c965b0938779b4f9a6ec6a', # Togl-2.0_decl.patch
|
|
]
|
|
|
|
builddependencies = [('binutils', '2.35')]
|
|
|
|
dependencies = [
|
|
('Mesa', '20.2.1'),
|
|
('Tk', '8.6.11'),
|
|
('Tcl', '8.6.11'),
|
|
]
|
|
|
|
preconfigopts = 'export CFLAGS="$CFLAGS -DTOGL_USE_FONTS=0" && '
|
|
|
|
configopts = "--prefix=%(installdir)s --exec-prefix=%(installdir)s "
|
|
configopts += "--with-tcl=$EBROOTTCL/lib --with-tk=$EBROOTTK/lib"
|
|
|
|
sanity_check_paths = {
|
|
'files': [],
|
|
'dirs': ['include', 'lib'],
|
|
}
|
|
|
|
modextrapaths = {
|
|
'LD_LIBRARY_PATH': 'lib/Togl2.0',
|
|
'LIBRARY_PATH': 'lib/Togl2.0',
|
|
}
|
|
|
|
moduleclass = 'vis'
|