diff --git a/Tools/template/build b/Tools/template/build new file mode 100755 index 0000000..c3925c3 --- /dev/null +++ b/Tools/template/build @@ -0,0 +1,18 @@ +#!/usr/bin/env modbuild + +pbuild::add_to_group 'Tools' + +pbuild::set_download_url \ + "https://sourceforge.net/projects/gnuplot/files/$P/$V/$P-$V.tar.gz" +pbuild::set_sha256sum 'gnuplot-5.2.4.tar.gz:1515f000bd373aaa53b16183f274189d4f5e0ae47d22f434857933d16a4770cb' +pbuild::install_docfiles 'Copyright' 'NEWS' 'README' + +pbuild::pre_configure() { + pbuild::add_configure_args '--with-latex=no' + pbuild::add_configure_args '--with-qt=no' +} +# Local Variables: +# mode: sh +# sh-basic-offset: 8 +# tab-width: 8 +# End: diff --git a/Tools/template/files/variants b/Tools/template/files/variants new file mode 100644 index 0000000..9900b5c --- /dev/null +++ b/Tools/template/files/variants @@ -0,0 +1 @@ +gnuplot/5.2.4 unstable b:gcc/10.3.0 diff --git a/Tools/template/modulefile b/Tools/template/modulefile new file mode 100644 index 0000000..8fba736 --- /dev/null +++ b/Tools/template/modulefile @@ -0,0 +1,18 @@ +#%Pmodule + +module-whatis "portable command-line driven graphing utility" +module-url "http://www.gnuplot.info/" +module-license "See \$GNUPLOT_DIR/share/doc/gnuplot/Copyright" +module-maintainer "Achim Gsell " + +module-help " +Gnuplot is a portable command-line driven graphing utility for Linux, +OS/2, MS Windows, OSX, VMS, and many other platforms. The source code +is copyrighted but freely distributed (i.e., you don't have to pay for +it). It was originally created to allow scientists and students to +visualize mathematical functions and data interactively, but has grown +to support many non-interactive uses such as web scripting. It is also +used as a plotting engine by third-party applications like Octave. +Gnuplot has been supported and under active development since 1986. +" +