Skip to content

Commit

Permalink
adding easyconfigs: flook-0.8.1-GCC-11.3.0.eb and patches: flook-0.8.…
Browse files Browse the repository at this point in the history
…1_flook.pc.in.patch
  • Loading branch information
ahkole committed Nov 15, 2023
1 parent 7c67f9d commit 44a8fc5
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
33 changes: 33 additions & 0 deletions easybuild/easyconfigs/f/flook/flook-0.8.1-GCC-11.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name = 'flook'
version = '0.8.1'

homepage = 'https://github.com/ElectronicStructureLibrary/flook'
description = """The fortran-Lua-hook library."""

toolchain = {'name': 'GCC', 'version': '11.3.0'}

source_urls = ['https://github.com/ElectronicStructureLibrary/flook/archive/']
sources = ['v%(version)s/flook-%(version)s.tar.gz']
patches = [
('flook-%(version)s_setup.make', './setup.make'),
'flook-%(version)s_flook.pc.in.patch',
]
checksums = [
{'flook-0.8.1.tar.gz': 'beb15b8cb57b7a2facc7a5094326aaa877fda4fe35f8aabac023232c2e12d97e'},
{'flook-0.8.1_setup.make': '6df3f53faa8a8fe61534ded997c5e748d0327c13b18972fbbf49eacbda30d6e0'},
{'flook-0.8.1_flook.pc.in.patch': '1aa3635d83f0f9bad2ef2f9457183aefa94c8f07e66d3ef31e8897190752b42c'},
]

dependencies = [('Lua', '5.4.4')]

parallel = 1

local_comp_flags = 'VENDOR="gnu" FFLAGS="$FFLAGS" CFLAGS="$CFLAGS"'
buildopts = 'liball %s' % local_comp_flags

sanity_check_paths = {
'files': ['include/flook.mod', 'lib/libflook.a', 'lib/libflookall.a'],
'dirs': [],
}

moduleclass = 'data'
11 changes: 11 additions & 0 deletions easybuild/easyconfigs/f/flook/flook-0.8.1_flook.pc.in.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
diff --git a/flook.pc.in b/flook.pc.in
index 680b5e0..b46f8ad 100644
--- a/flook.pc.in
+++ b/flook.pc.in
@@ -10,5 +10,5 @@ Version: @PROJECT_VERSION@
URL: https://github.com/ElectronicStructureLibrary/flook
Cflags: -I${includedir}
Libs.private: -ldl
-Libs: -L${libdir} -lflookall
+Libs: -L${libdir} -lflookall -llua -ldl

0 comments on commit 44a8fc5

Please sign in to comment.