diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-11-28 07:15:04 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-11-28 07:15:04 +0000 |
| commit | bcdf59240318a0040b0ca6829e3b0db2004cd690 (patch) | |
| tree | 2d6bc56e5f320f388fff55946547f77da36f03be /app-admin/modules/modules-5.6.1.ebuild | |
| parent | e6d79f08f7c3664df1cd898d76b0689a7c87c471 (diff) | |
| download | baldeagleos-repo-bcdf59240318a0040b0ca6829e3b0db2004cd690.tar.gz baldeagleos-repo-bcdf59240318a0040b0ca6829e3b0db2004cd690.tar.xz baldeagleos-repo-bcdf59240318a0040b0ca6829e3b0db2004cd690.zip | |
Adding metadata
Diffstat (limited to 'app-admin/modules/modules-5.6.1.ebuild')
| -rw-r--r-- | app-admin/modules/modules-5.6.1.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/app-admin/modules/modules-5.6.1.ebuild b/app-admin/modules/modules-5.6.1.ebuild new file mode 100644 index 000000000000..0e2e51da171b --- /dev/null +++ b/app-admin/modules/modules-5.6.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 2020-2025 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +DESCRIPTION="An environment module system supporting TCL and software hierarchy" +HOMEPAGE="http://modules.sourceforge.net/" +SRC_URI="https://github.com/cea-hpc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 x86" +IUSE="doc test" + +DEPEND=">=dev-lang/tcl-8.4.0 + doc? ( >=dev-python/sphinx-1.0.0 ) + test? ( dev-util/dejagnu )" +RDEPEND="${DEPEND}" + +LDIR="/etc/Modules" +MDIR="${LDIR}/modules" + +src_configure() { + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --docdir=/usr/share/doc/${P} \ + --libdir=/usr/lib64 \ + --with-modulepath=${MDIR} \ + --etcdir=${LDIR} \ + --with-initconf-in=etcdir \ + --with-moduleshome=${MDIR} +} + +src_install() { + dodir ${MDIR} + doins -r "${FILESDIR}/etc" + default +} + +pkg_postinst() { + elog "You should add the following to your ~/.bashrc to use ${PN}:" + elog "export MODULEPATH=/usr/modulefiles:${MDIR}" + elog "[ -f /usr/init/bash ] && \\ " + elog " source /usr/init/bash" + elog "" + elog "You may also want to run the following commands to update the system cache dir:" + elog "export MODULEPATH=/usr/modulefiles:${MDIR}" + elog "source /usr/init/bash" +} |
