all buildblocks moved one level up
This commit is contained in:
22
Tools/Eclipse/modulefile
Normal file
22
Tools/Eclipse/modulefile
Normal file
@@ -0,0 +1,22 @@
|
||||
#%Module1.0
|
||||
|
||||
set whatis "C/C++ IDE"
|
||||
set url "http://eclipse.org/home/index.php"
|
||||
set license "Eclipse license"
|
||||
set licensefile "notice.html"
|
||||
set maintainer "Achim Gsell <achim.gsell@psi.ch>"
|
||||
|
||||
set help "
|
||||
Eclipse is famous for its Java Integrated Development Environment (IDE), but
|
||||
its C/C++ IDE and PHP IDE are pretty cool too. You can easily combine
|
||||
language support and other features into any of our default packages, and
|
||||
the Eclipse Marketplace allows for virtually unlimited customization and
|
||||
extension.
|
||||
"
|
||||
|
||||
source $env(PSI_LIBMODULES)
|
||||
|
||||
if { [uname sysname] == "Darwin" } {
|
||||
set-alias Eclipse "open -n \"$PREFIX/Eclipse.app\""
|
||||
}
|
||||
|
||||
21
Tools/Firefox/modulefile
Normal file
21
Tools/Firefox/modulefile
Normal file
@@ -0,0 +1,21 @@
|
||||
#%Module1.0
|
||||
|
||||
set whatis "open source web browser"
|
||||
set url "https://www.mozilla.org/en-US/firefox/desktop/"
|
||||
set license " Mozilla Public License 2.0 and other"
|
||||
set maintainer "Achim Gsell <achim.gsell@psi.ch>"
|
||||
|
||||
set help "
|
||||
Mozilla Firefox (known simply as Firefox) is a free and open-source web
|
||||
browser developed for Windows, OS X, and Linux, with a mobile version for
|
||||
Android, by the Mozilla Foundation and its subsidiary, the Mozilla
|
||||
Corporation. Firefox uses the Gecko layout engine to render web pages, which
|
||||
implements current and anticipated web standards.
|
||||
"
|
||||
|
||||
source $env(PSI_LIBMODULES)
|
||||
|
||||
if { [uname sysname] == "Darwin" } {
|
||||
set-alias Firefox "open -n \"$PREFIX/Firefox.app\""
|
||||
}
|
||||
|
||||
16
Tools/Opera/modulefile
Normal file
16
Tools/Opera/modulefile
Normal file
@@ -0,0 +1,16 @@
|
||||
#%Module1.0
|
||||
|
||||
set whatis "long term support version"
|
||||
set url "http://www.opera.com/"
|
||||
set license "Opera EULA"
|
||||
set maintainer "Achim Gsell <achim.gsell@psi.ch>"
|
||||
|
||||
set help "
|
||||
Firefox web browser.
|
||||
"
|
||||
|
||||
source $env(PSI_LIBMODULES)
|
||||
|
||||
if { [uname sysname] == "Darwin" } {
|
||||
set-alias Opera "open -n \"$PREFIX/Opera.app\""
|
||||
}
|
||||
20
Tools/Thunderbird/modulefile
Normal file
20
Tools/Thunderbird/modulefile
Normal file
@@ -0,0 +1,20 @@
|
||||
#%Module1.0
|
||||
|
||||
set whatis "free, open source, cross-platform email, news, and chat client."
|
||||
set url "http://www.mozilla.org/en-US/thunderbird/"
|
||||
set license " Mozilla Public License 2.0 and other"
|
||||
set maintainer "Achim Gsell <achim.gsell@psi.ch>"
|
||||
|
||||
set help "
|
||||
Thunderbird is an email, newsgroup, news feed, and chat (XMPP, IRC, Twitter)
|
||||
client. The vanilla version is not a personal information manager, although
|
||||
the Mozilla Lightning extension adds PIM functionality. Additional features,
|
||||
if needed, are often available via other extensions.
|
||||
"
|
||||
|
||||
source $env(PSI_LIBMODULES)
|
||||
|
||||
if { [uname sysname] == "Darwin" } {
|
||||
set-alias Thunderbird "open -n \"$PREFIX/Thunderbird.app\""
|
||||
}
|
||||
|
||||
10
Tools/emacs/Emacs
Normal file
10
Tools/emacs/Emacs
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
declare -r OS=$(uname -s)
|
||||
|
||||
if [[ "${OS}" == "Darwin" ]]; then
|
||||
open "${EMACS_DIR}/Emacs.app" --args "$@"
|
||||
else
|
||||
"${EMACS_DIR}/bin/emacs" "$@"
|
||||
fi
|
||||
|
||||
10
Tools/emacs/Emacsclient
Normal file
10
Tools/emacs/Emacsclient
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
declare -r OS=$(uname -s)
|
||||
|
||||
if [[ "${OS}" == "Darwin" ]]; then
|
||||
"${EMACS_DIR}/Emacs.app/Contents/MacOS/bin/emacsclient" -c "$@"
|
||||
else
|
||||
"${EMACS_DIR}/bin/emacsclient" -c "$@" &
|
||||
fi
|
||||
|
||||
46
Tools/emacs/build
Executable file
46
Tools/emacs/build
Executable file
@@ -0,0 +1,46 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
module use 'Libraries'
|
||||
|
||||
build_dependencies="${COMPILER} libungif tiff"
|
||||
|
||||
case ${OS} in
|
||||
Darwin )
|
||||
configure_args='--with-ns'
|
||||
build_dependencies="libungif tiff"
|
||||
CC=''
|
||||
CXX=''
|
||||
COMPILER=''
|
||||
COMPILER_VERSION=''
|
||||
;;
|
||||
Linux )
|
||||
# with 24.5 configure complains about missing libjpeg even it
|
||||
# is installed!
|
||||
configure_args='--with-jpeg=no'
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
pbuild::configure() {
|
||||
"${MODULE_SRCDIR}"/configure \
|
||||
--prefix="${PREFIX}" \
|
||||
${configure_args} \
|
||||
|| exit 1
|
||||
install -m 0755 -d "${PREFIX}"
|
||||
}
|
||||
|
||||
pbuild::post_install() {
|
||||
mkdir -p "${PREFIX}/bin"
|
||||
install -m 0755 "${BUILD_BLOCK_DIR}/Emacs" "${PREFIX}/bin"
|
||||
install -m 0755 "${BUILD_BLOCK_DIR}/Emacsclient" "${PREFIX}/bin"
|
||||
}
|
||||
|
||||
pbuild::post_install_Darwin() {
|
||||
cp -a "${MODULE_BUILDDIR}/nextstep/Emacs.app" "${PREFIX}"
|
||||
}
|
||||
|
||||
pbuild::add_to_group 'Tools'
|
||||
pbuild::set_build_dependencies ${build_dependencies}
|
||||
pbuild::make_all
|
||||
|
||||
30
Tools/emacs/modulefile
Normal file
30
Tools/emacs/modulefile
Normal file
@@ -0,0 +1,30 @@
|
||||
#%Module1.0
|
||||
|
||||
set whatis "extensible, customizable text editor—and more"
|
||||
set url "http://www.gnu.org/software/emacs/"
|
||||
set license "GNU GPL v3"
|
||||
set maintainer "Achim Gsell <achim.gsell@psi.ch>"
|
||||
|
||||
set help "
|
||||
GNU Emacs is an extensible, customizable text editor—and more. At its
|
||||
core is an interpreter for Emacs Lisp, a dialect of the Lisp programming
|
||||
language with extensions to support text editing. The features of GNU
|
||||
Emacs include:
|
||||
|
||||
- Content-sensitive editing modes, including syntax coloring, for a
|
||||
variety of file types including plain text, source code, and HTML.
|
||||
|
||||
- Complete built-in documentation, including a tutorial for new users.
|
||||
|
||||
- Full Unicode support for nearly all human languages and their scripts.
|
||||
|
||||
- Highly customizable, using Emacs Lisp code or a graphical interface.
|
||||
|
||||
- A large number of extensions that add other functionality, including
|
||||
a project planner, mail and news reader, debugger interface, calendar,
|
||||
and more. Many of these extensions are distributed with GNU Emacs;
|
||||
others are available separately.
|
||||
"
|
||||
|
||||
source $env(PSI_LIBMODULES)
|
||||
|
||||
43
Tools/git/build
Executable file
43
Tools/git/build
Executable file
@@ -0,0 +1,43 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
case ${OS} in
|
||||
Darwin )
|
||||
export NO_APPLE_COMMON_CRYPTO=1
|
||||
# we use 'asciidoc' from MacPorts
|
||||
PATH+=':/opt/local/bin'
|
||||
;;
|
||||
esac
|
||||
|
||||
pbuild::configure() {
|
||||
cd "${MODULE_SRCDIR}"
|
||||
"${MODULE_SRCDIR}"/configure \
|
||||
--prefix="${PREFIX}" \
|
||||
--with-tcltk \
|
||||
|| exit 1
|
||||
}
|
||||
|
||||
pbuild::build() {
|
||||
cd "${MODULE_SRCDIR}"
|
||||
make
|
||||
|
||||
make -C contrib/subtree prefix="${prefix}"
|
||||
}
|
||||
|
||||
pbuild::install() {
|
||||
cd "${MODULE_SRCDIR}"
|
||||
make install
|
||||
make install-doc
|
||||
make -C contrib/subtree prefix="${PREFIX}" install
|
||||
make -C contrib/subtree prefix="${PREFIX}" install-doc
|
||||
}
|
||||
|
||||
pbuild::add_to_group 'Tools'
|
||||
pbuild::set_runtime_dependencies 'Tcl' 'Tk'
|
||||
pbuild::set_docfiles 'COPYING' 'README'
|
||||
pbuild::make_all
|
||||
|
||||
# Local Variables:
|
||||
# mode: sh
|
||||
# sh-basic-offset: 8
|
||||
# tab-width: 8
|
||||
# End:
|
||||
21
Tools/git/modulefile
Normal file
21
Tools/git/modulefile
Normal file
@@ -0,0 +1,21 @@
|
||||
#%Module1.0
|
||||
|
||||
set dont-setenv { GIT_DIR }
|
||||
|
||||
set whatis "distributed version control system"
|
||||
set url "http://git-scm.com/"
|
||||
set license "GNU GPL v2"
|
||||
set maintainer "Achim Gsell <achim.gsell@psi.ch>"
|
||||
|
||||
set help "
|
||||
Git is a free and open source distributed version control system
|
||||
designed to handle everything from small to very large projects
|
||||
with speed and efficiency.
|
||||
|
||||
Git is easy to learn and has a tiny footprint with lightning fast
|
||||
performance. It outclasses SCM tools like Subversion, CVS, Perforce,
|
||||
and ClearCase with features like cheap local branching, convenient
|
||||
staging areas, and multiple workflows.
|
||||
"
|
||||
|
||||
source $env(PSI_LIBMODULES)
|
||||
2
Tools/git/with_modules
Normal file
2
Tools/git/with_modules
Normal file
@@ -0,0 +1,2 @@
|
||||
Tcl/8.6.4
|
||||
Tk/8.6.4
|
||||
20
Tools/global/build
Executable file
20
Tools/global/build
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::configure() {
|
||||
"${MODULE_SRCDIR}"/configure \
|
||||
--prefix="${PREFIX}" \
|
||||
--with-pic=yes \
|
||||
--with-included-ltdl \
|
||||
|| exit 1
|
||||
}
|
||||
|
||||
pbuild::add_to_group 'Tools'
|
||||
pbuild::set_docfiles 'AUTHORS' 'COPYING' 'COPYING.LIB' 'LICENSE' 'README' 'THANKS'
|
||||
pbuild::set_build_dependencies "gcc/4.8.3"
|
||||
pbuild::make_all
|
||||
|
||||
# Local Variables:
|
||||
# mode: sh
|
||||
# sh-basic-offset: 8
|
||||
# tab-width: 8
|
||||
# End:
|
||||
22
Tools/global/modulefile
Normal file
22
Tools/global/modulefile
Normal file
@@ -0,0 +1,22 @@
|
||||
#%Module1.0
|
||||
|
||||
set whatis "source code tag system"
|
||||
set url "http://www.gnu.org/software/global/"
|
||||
set license "GNU GPL v3"
|
||||
set maintainer "Achim Gsell <achim.gsell@psi.ch>"
|
||||
|
||||
set help "
|
||||
GNU GLOBAL is a source code tag system that works the same way across
|
||||
diverse environments, such as Emacs editor, Vi editor, Less viewer, Bash
|
||||
shell, various web browsers, etc. You can locate specified tags, such as
|
||||
functions, macros, structs, classes, in your source files and move there
|
||||
easily. It is useful for hacking large projects which contain many
|
||||
sub-directories, many #ifdef and many main() functions. It is similar to
|
||||
ctags or etags, but is different from them at the point of independence of
|
||||
any editor. It runs on a UNIX (POSIX) compatible operating system, like GNU
|
||||
and BSD.
|
||||
"
|
||||
|
||||
source $env(PSI_LIBMODULES)
|
||||
|
||||
|
||||
20
Tools/gnuplot/build
Executable file
20
Tools/gnuplot/build
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::configure() {
|
||||
"${MODULE_SRCDIR}"/configure \
|
||||
--prefix="${PREFIX}" \
|
||||
--with-gif=no \
|
||||
--with-tiff=no \
|
||||
|| exit 1
|
||||
}
|
||||
|
||||
pbuild::add_to_group 'Tools'
|
||||
pbuild::set_docfiles 'Copyright' 'ChangeLog' 'NEWS' 'README'
|
||||
pbuild::set_build_dependencies "${COMPILER}"
|
||||
pbuild::make_all
|
||||
|
||||
# Local Variables:
|
||||
# mode: sh
|
||||
# sh-basic-offset: 8
|
||||
# tab-width: 8
|
||||
# End:
|
||||
19
Tools/gnuplot/modulefile
Normal file
19
Tools/gnuplot/modulefile
Normal file
@@ -0,0 +1,19 @@
|
||||
#%Module1.0
|
||||
|
||||
set whatis "portable command-line driven graphing utility"
|
||||
set url "http://www.gnuplot.info/"
|
||||
set license "See \$GNUPLOT_DIR/share/doc/gnuplot/Copyright"
|
||||
set maintainer "Achim Gsell <achim.gsell@psi.ch>"
|
||||
|
||||
set 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.
|
||||
"
|
||||
|
||||
source $env(PSI_LIBMODULES)
|
||||
Reference in New Issue
Block a user