Skip to content

Commit

Permalink
htop: updated existing (2.2.0) and added from new official repo (3.1.2)
Browse files Browse the repository at this point in the history
  • Loading branch information
scimerman committed Jan 24, 2022
1 parent 3f7bd0d commit f9a1dc6
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 2 deletions.
6 changes: 4 additions & 2 deletions easybuild/easyconfigs/h/htop/htop-2.2.0-GCCcore-7.3.0-pbp.eb
Expand Up @@ -9,7 +9,7 @@ easyblock = 'ConfigureMake'
toolchain = {'name': 'GCCcore', 'version': '7.3.0'}

#
# Complete example URL:
# Complete example URL:
# https://github.com/hishamhm/htop/archive/2.2.0.tar.gz
##
# Apply patch for:
Expand All @@ -26,7 +26,8 @@ checksums = [
]

builddependencies = [
('Autotools', '20180311')
('Autotools', '20180311'),
('Python', '2.7.16', '-bare'), # scripts/MakeHeader.py uses Python 2
]

dependencies = [
Expand All @@ -45,3 +46,4 @@ sanity_check_paths = {
}

moduleclass = 'tools'

37 changes: 37 additions & 0 deletions easybuild/easyconfigs/h/htop/htop-3.1.2-GCCcore-7.3.0.eb
@@ -0,0 +1,37 @@
easyblock = 'ConfigureMake'

name = 'htop'
version = '3.1.2'

description = """An interactive, ncursus-based process viewer by Hisham Muhammad."""
homepage = 'https://github.com/hishamhm/htop'

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

source_urls = ['https://github.com/htop-dev/%(name)s/archive/']
sources = ['%(version)s.tar.gz']

checksums = [
'fe9559637c8f21f5fd531a4c072048a404173806acbdad1359c6b82fd87aa001', # htop-3.1.2.tar.gz
]

builddependencies = [
('Autotools', '20180311')
]

dependencies = [
('ncurses', '6.1'),
]

#
# The source distro does not contain a configure script out of the box:
# Execute autogen.sh, which calls various tools from the Autotools module to create the configure script.
#
preconfigopts = './autogen.sh && chmod a+x configure && '

sanity_check_paths = {
'files': ['bin/htop', 'share/man/man1/htop.1'],
'dirs': [''],
}

moduleclass = 'tools'

0 comments on commit f9a1dc6

Please sign in to comment.