Skip to content

Commit 33f3b1b

Browse files
committed
adding easyconfigs: POV-Ray-3.7.0.10-GCC-12.3.0.eb
1 parent 0eea8a9 commit 33f3b1b

File tree

1 file changed

+64
-0
lines changed

1 file changed

+64
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
##
2+
# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild
3+
#
4+
# Copyright:: Copyright 2012-2014 Uni.Lu, NTUA
5+
# Authors:: Fotis Georgatos <[email protected]>
6+
# License:: MIT/GPL
7+
# $Id$
8+
#
9+
# This work implements a part of the HPCBIOS project and is a component of the policy:
10+
# http://hpcbios.readthedocs.org/en/latest/
11+
##
12+
13+
easyblock = 'ConfigureMake'
14+
15+
name = 'POV-Ray'
16+
version = '3.7.0.10'
17+
18+
homepage = 'https://www.povray.org/'
19+
description = """The Persistence of Vision Raytracer, or POV-Ray, is a ray tracing program
20+
which generates images from a text-based scene description, and is available for a variety
21+
of computer platforms. POV-Ray is a high-quality, Free Software tool for creating stunning
22+
three-dimensional graphics. The source code is available for those wanting to do their own ports."""
23+
24+
toolchain = {'name': 'GCC', 'version': '12.3.0'}
25+
toolchainopts = {'pic': True}
26+
27+
source_urls = ['https://github.com/POV-Ray/povray/archive/']
28+
sources = ['v%(version)s.tar.gz']
29+
patches = ['POV-Ray-3.7.0.7_dont-touch-home.patch']
30+
checksums = [
31+
{'v3.7.0.10.tar.gz': '7bee83d9296b98b7956eb94210cf30aa5c1bbeada8ef6b93bb52228bbc83abff'},
32+
{'POV-Ray-3.7.0.7_dont-touch-home.patch': '45103afca808e279dcdee80194c65e2a760c76d011d351392a46e817b0b655f7'},
33+
]
34+
35+
builddependencies = [
36+
('Autotools', '20220317'),
37+
]
38+
39+
dependencies = [
40+
('Boost', '1.82.0'),
41+
('zlib', '1.2.13'),
42+
('libpng', '1.6.39'),
43+
('libjpeg-turbo', '2.1.5.1'),
44+
('X11', '20230603'),
45+
('LibTIFF', '4.5.0'),
46+
('SDL2', '2.28.2'),
47+
('OpenEXR', '3.1.7'),
48+
]
49+
50+
preconfigopts = "cd unix && sed -i 's/^automake/automake --add-missing; automake/g' prebuild.sh && "
51+
preconfigopts += " ./prebuild.sh && cd .. && "
52+
configopts = "COMPILED_BY='EasyBuild' "
53+
configopts += "--with-boost=$EBROOTBOOST --with-zlib=$EBROOTZLIB --with-libpng=$EBROOTLIBPNG "
54+
configopts += "--with-libtiff=$EBROOTLIBTIFF --with-libjpeg=$EBROOTLIBJPEGMINTURBO --with-libsdl=$EBROOTSDL2 "
55+
# configopts += " --with-libmkl=DIR " ## upstream needs to fix this, still in BETA
56+
57+
runtest = 'check'
58+
59+
sanity_check_paths = {
60+
'files': ['bin/povray'],
61+
'dirs': ['etc/povray/%(version_major_minor)s', 'share']
62+
}
63+
64+
moduleclass = 'vis'

0 commit comments

Comments
 (0)