From da1c901ab939dbd6919c02d153d7b2bee93cf157 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Tue, 17 Apr 2018 17:29:02 +0200 Subject: [PATCH] asciidoc: new module added --- Tools/asciidoc/8/variants | 1 + Tools/asciidoc/build | 31 +++++++++++++++++++++++++++++++ Tools/asciidoc/modulefile | 18 ++++++++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 Tools/asciidoc/8/variants create mode 100755 Tools/asciidoc/build create mode 100644 Tools/asciidoc/modulefile diff --git a/Tools/asciidoc/8/variants b/Tools/asciidoc/8/variants new file mode 100644 index 0000000..f3f1245 --- /dev/null +++ b/Tools/asciidoc/8/variants @@ -0,0 +1 @@ +asciidoc/8.6.9 unstable Python/2.7.14 diff --git a/Tools/asciidoc/build b/Tools/asciidoc/build new file mode 100755 index 0000000..f674122 --- /dev/null +++ b/Tools/asciidoc/build @@ -0,0 +1,31 @@ +#!/usr/bin/env modbuild + +SOURCE_URL="https://sourceforge.net/projects/asciidoc/files/$P/$V/$P-$V.tar.gz" + +pbuild::configure() { + "${MODULE_SRCDIR}"/configure \ + --prefix="${PREFIX}" \ + || exit 1 +} + +pbuild::compile_in_sourcetree +pbuild::add_to_group 'Tools' +pbuild::set_docfiles \ + BUGS \ + BUGS.txt \ + CHANGELOG \ + CHANGELOG.txt \ + COPYING \ + COPYRIGHT \ + INSTALL \ + INSTALL.txt \ + MANIFEST \ + README \ + README.txt +pbuild::make_all + +# Local Variables: +# mode: sh +# sh-basic-offset: 8 +# tab-width: 8 +# End: diff --git a/Tools/asciidoc/modulefile b/Tools/asciidoc/modulefile new file mode 100644 index 0000000..fd4336c --- /dev/null +++ b/Tools/asciidoc/modulefile @@ -0,0 +1,18 @@ +#%Module1.0 + +module-whatis "translater for asciidoc formatted documents" +module-url "http://www.methods.co.nz/asciidoc/index.html" +module-license "GPL v2" +module-maintainer "Achim Gsell " + +module-help " +AsciiDoc is a text document format for writing notes, documentation, +articles, books, ebooks, slideshows, web pages, man pages and blogs. +AsciiDoc files can be translated to many formats including HTML, PDF, +EPUB, man page. + +AsciiDoc is highly configurable: both the AsciiDoc source file syntax +and the backend output markups (which can be almost any type of SGML/XML +markup) can be customized and extended by the user. +" +