summaryrefslogtreecommitdiffstats
path: root/system/modules
diff options
context:
space:
mode:
Diffstat (limited to 'system/modules')
-rw-r--r--system/modules/README18
-rw-r--r--system/modules/modules.SlackBuild25
-rw-r--r--system/modules/modules.info8
3 files changed, 29 insertions, 22 deletions
diff --git a/system/modules/README b/system/modules/README
index 03fca01a81..a740d43f6d 100644
--- a/system/modules/README
+++ b/system/modules/README
@@ -4,13 +4,13 @@ of a user's environment via modulefiles.
Each modulefile contains the information needed to configure the shell
for an application.
-Once the Modules package is initialized, the environment can be
-modified on a per-module basis using the module command which interprets
-modulefiles. Typically modulefiles instruct the module command to alter or
-set shell environment variables such as PATH, MANPATH, etc. Modulefiles
-may be shared by many users on a system and users may have their own
-collection to supplement or replace the shared modulefiles.
+Once the Modules package is initialized, the environment can be modified
+on a per-module basis using the module command which interprets
+modulefiles. Typically modulefiles instruct the module command to alter
+or set shell environment variables such as PATH, MANPATH, etc.
+Modulefiles may be shared by many users on a system and users may have
+their own collection to supplement or replace the shared modulefiles.
-Modules are useful in managing different versions of applications. Modules
-can also be bundled into metamodules that will load an entire suite of
-different applications.
+Modules are useful in managing different versions of applications.
+Modules can also be bundled into metamodules that will load an entire
+suite of different applications.
diff --git a/system/modules/modules.SlackBuild b/system/modules/modules.SlackBuild
index d87579ff0e..f4851810aa 100644
--- a/system/modules/modules.SlackBuild
+++ b/system/modules/modules.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for Modules
#
-# Copyright 2015-2019 Emmanuel N. Millan, Mendoza, Argentina.
+# Copyright 2015-2021 Emmanuel N. Millan, Mendoza, Argentina.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,28 +22,35 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=modules
-VERSION=${VERSION:-4.4.0}
+VERSION=${VERSION:-4.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-DOCS="ChangeLog INSTALL.txt COPYING.GPLv2 NEWS.txt README"
+DOCS="CONTRIBUTING.rst ChangeLog INSTALL.rst COPYING.GPLv2 MIGRATING.rst NEWS.rst README.md"
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -102,4 +109,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/system/modules/modules.info b/system/modules/modules.info
index ca2fcade89..8aaa2c1982 100644
--- a/system/modules/modules.info
+++ b/system/modules/modules.info
@@ -1,8 +1,8 @@
PRGNAM="modules"
-VERSION="4.4.0"
-HOMEPAGE="https://modules.sourceforge.net/"
-DOWNLOAD="https://downloads.sourceforge.net/project/modules/Modules/modules-4.4.0/modules-4.4.0.tar.bz2"
-MD5SUM="1333e7b5fc2a9a7871c39801f2688099"
+VERSION="4.7.0"
+HOMEPAGE="http://modules.sourceforge.net/"
+DOWNLOAD="https://downloads.sourceforge.net/project/modules/Modules/modules-4.7.0/modules-4.7.0.tar.bz2"
+MD5SUM="d891012c6014de939761b62bbae29155"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""