diff options
Diffstat (limited to 'app-admin/Lmod/Lmod-8.4.18.ebuild')
| -rw-r--r-- | app-admin/Lmod/Lmod-8.4.18.ebuild | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/app-admin/Lmod/Lmod-8.4.18.ebuild b/app-admin/Lmod/Lmod-8.4.18.ebuild deleted file mode 100644 index b1b3e3e856de..000000000000 --- a/app-admin/Lmod/Lmod-8.4.18.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 2020 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=7 - -DESCRIPTION="A Lua-based environment module system supporting TCL and software hierarchy" -HOMEPAGE="https://www.tacc.utexas.edu/tacc-projects/lmod" -SRC_URI="https://github.com/TACC/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -DEPEND="dev-lua/luaposix - dev-lang/tcl - dev-lua/lua-bit32 - >=dev-lua/luafilesystem-1.6.2" -RDEPEND="${DEPEND}" - -LDIR="/etc/Lmod" -MDIR="${LDIR}/modules" -SDIR="${LDIR}/cacheDir" - -src_configure() { - econf --with-module-root-path=${MDIR} --with-spiderCacheDir=${SDIR} \ - --with-updateSystemFn=${LDIR}/system.txt -} - -src_install() { - dodir ${MDIR} - dodir ${SDIR} - doins -r "${FILESDIR}/etc" - default -} - -pkg_postinst() { - elog "You should add the following to your ~/.bashrc to use Lmod:" - elog "export MODULEPATH=/usr/lmod/lmod/modulefiles:${MDIR}" - elog "[ -f /usr/lmod/lmod/init/bash ] && \\ " - elog " source /usr/lmod/lmod/init/bash" - elog "" - elog "You may also want to run the following commands to update the system cache dir:" - elog "export MODULEPATH=/usr/lmod/lmod/modulefiles:${MDIR}" - elog "update_lmod_system_cache_files -d ${SDIR} -t ${MDIR}/system.txt $MODULEPATH" -} |
