diff --git a/m/moreutils/moreutils-0.62.eb b/m/moreutils/moreutils-0.62.eb new file mode 100644 index 00000000..9c8d9767 --- /dev/null +++ b/m/moreutils/moreutils-0.62.eb @@ -0,0 +1,31 @@ +# IT4Innovations 2018 + +easyblock = 'ConfigureMake' + +name = 'moreutils' +version = '0.62' + +homepage = 'https://joeyh.name/code/moreutils/' +description = "Moreutils is a growing collection of the unix tools that nobody thought to write long ago when unix was young." + +toolchain = {'name': 'dummy', 'version': ''} + +source_urls = ['http://http.debian.net/debian/pool/main/m/moreutils/'] +sources = ['moreutils_%(version)s.orig.tar.xz'] + +#dependencies = [('zlib', '1.2.8')] + +patches = ['moreutils-0.62.patch'] + +skipsteps = ['configure'] + +installopts = 'DESTDIR=/apps/all/moreutils/ PREFIX=0.62' + +parallel = 1 + +sanity_check_paths = { + 'files': ['bin/vipe', 'bin/combine'], + 'dirs': [] +} + +moduleclass = 'tools' diff --git a/m/moreutils/moreutils-0.62.patch b/m/moreutils/moreutils-0.62.patch new file mode 100644 index 00000000..b8ca92c1 --- /dev/null +++ b/m/moreutils/moreutils-0.62.patch @@ -0,0 +1,20 @@ +--- Makefile.orig 2017-12-31 17:02:11.000000000 +0100 ++++ Makefile 2018-09-18 14:33:48.977570818 +0200 +@@ -1,6 +1,6 @@ + BINS=isutf8 ifdata ifne pee sponge mispipe lckdo parallel errno + PERLSCRIPTS=vidir vipe ts combine zrun chronic +-MANS=sponge.1 vidir.1 vipe.1 isutf8.1 ts.1 combine.1 ifdata.1 ifne.1 pee.1 zrun.1 chronic.1 mispipe.1 lckdo.1 parallel.1 errno.1 ++MANS= + CFLAGS?=-O2 -g -Wall + INSTALL_BIN?=install -s + PREFIX?=/usr +@@ -28,9 +28,6 @@ + $(INSTALL_BIN) $(BINS) $(DESTDIR)$(PREFIX)/bin + install $(PERLSCRIPTS) $(DESTDIR)$(PREFIX)/bin + +- mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1 +- install $(MANS) $(DESTDIR)$(PREFIX)/share/man/man1 +- + check: isutf8 + ./is_utf8/test.sh +