From 90b9071e2d237db34221573e104e8847b8029bac Mon Sep 17 00:00:00 2001 From: Jack Perdue Date: Sat, 5 Aug 2017 06:24:11 -0500 Subject: [PATCH 1/2] adding easyconfigs: htop-2.0.1.eb --- easybuild/easyconfigs/h/htop/htop-2.0.1.eb | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 easybuild/easyconfigs/h/htop/htop-2.0.1.eb diff --git a/easybuild/easyconfigs/h/htop/htop-2.0.1.eb b/easybuild/easyconfigs/h/htop/htop-2.0.1.eb new file mode 100644 index 00000000000..c7e830f3a74 --- /dev/null +++ b/easybuild/easyconfigs/h/htop/htop-2.0.1.eb @@ -0,0 +1,29 @@ +easyblock = 'ConfigureMake' + +name = 'htop' +version = "2.0.1" + +homepage = 'http://hisham.hm/htop/' + +description = """An interactive process viewer for Unix""" + +toolchain = {'name': 'dummy', 'version': ''} + +source_urls = ['http://hisham.hm/htop/releases/%(version)s/'] +sources = [SOURCE_TAR_GZ] +checksums = ['f410626dfaf6b70fdf73cd7bb33cae768869707028d847fed94a978e974f5666'] + +dependencies = [ + ('ncurses', '6.0'), +] + +prebuildopts = """ + sed -e 's/^LIBS = -lncursesw -lm/LIBS = -lncursesw -lm -ltinfo/' -i.eb Makefile +""" + +sanity_check_paths = { + 'files': ['bin/htop'], + 'dirs': ['share'], +} + +moduleclass = 'tools' From 063ff68e3f102c4615441176dcd1edf058882a2b Mon Sep 17 00:00:00 2001 From: Jack Perdue Date: Thu, 10 Aug 2017 13:29:44 -0500 Subject: [PATCH 2/2] cleanup --- easybuild/easyconfigs/h/htop/htop-2.0.1.eb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/easybuild/easyconfigs/h/htop/htop-2.0.1.eb b/easybuild/easyconfigs/h/htop/htop-2.0.1.eb index c7e830f3a74..8c6054d0f42 100644 --- a/easybuild/easyconfigs/h/htop/htop-2.0.1.eb +++ b/easybuild/easyconfigs/h/htop/htop-2.0.1.eb @@ -17,9 +17,7 @@ dependencies = [ ('ncurses', '6.0'), ] -prebuildopts = """ - sed -e 's/^LIBS = -lncursesw -lm/LIBS = -lncursesw -lm -ltinfo/' -i.eb Makefile -""" +preconfigopts = 'LIBS="$LIBS -ltinfo"' sanity_check_paths = { 'files': ['bin/htop'],