public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Nicolas Bock" <nicolasbock@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sys-cluster/modules/
Date: Thu,  5 Jul 2012 18:04:04 +0000 (UTC)	[thread overview]
Message-ID: <1341511394.5d2972bef61cfccc536c701fd034338e280939e7.nicolasbock@gentoo> (raw)

commit:     5d2972bef61cfccc536c701fd034338e280939e7
Author:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
AuthorDate: Thu Jul  5 18:03:14 2012 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Thu Jul  5 18:03:14 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=5d2972be

Added modules-3.2.9c-r1.ebuild.

(Portage version: 2.1.10.65/git/Linux x86_64, unsigned Manifest commit)

---
 sys-cluster/modules/ChangeLog                |    5 +++
 sys-cluster/modules/modules-3.2.9c-r1.ebuild |   51 ++++++++++++++++++++++++++
 2 files changed, 56 insertions(+), 0 deletions(-)

diff --git a/sys-cluster/modules/ChangeLog b/sys-cluster/modules/ChangeLog
index 2dfd5c2..d63b6f7 100644
--- a/sys-cluster/modules/ChangeLog
+++ b/sys-cluster/modules/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*modules-3.2.9c-r1 (05 Jul 2012)
+
+  05 Jul 2012; Nicolas Bock <nicolasbock@gmail.com> +modules-3.2.9c-r1.ebuild:
+  Added modules-3.2.9c-r1.ebuild.
+
   05 Jul 2012; Nicolas Bock <nicolasbock@gmail.com> metadata.xml:
   update metadata
 

diff --git a/sys-cluster/modules/modules-3.2.9c-r1.ebuild b/sys-cluster/modules/modules-3.2.9c-r1.ebuild
new file mode 100644
index 0000000..16c87a0
--- /dev/null
+++ b/sys-cluster/modules/modules-3.2.9c-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit autotools-utils
+
+DESCRIPTION="Dynamic modification of a user's environment via modulefiles."
+HOMEPAGE="http://modules.sourceforge.net/"
+SRC_URI="http://sourceforge.net/projects/modules/files/Modules/${P%[a-z]}/${P}.tar.bz2/download -> ${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="X"
+
+DEPEND="
+	dev-lang/tcl
+	dev-tcltk/tclx
+	X? ( x11-libs/libX11 )
+	"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${P%[a-z]}"
+
+DOCS=(ChangeLog README NEWS TODO)
+
+pkg_setup() {
+	export MODULES_PATH=/etc/Modules
+	export MODULES_VERSION="3.2.9"
+}
+
+src_configure() {
+	local myeconfargs=(
+		$(use_with X x)
+		--with-module-path=${MODULES_PATH}/${MODULES_VERSION}/modulefiles
+		--with-version-path=${MODULES_PATH}/${MODULES_VERSION}/versions
+	)
+	autotools-utils_src_configure
+}
+
+src_install() {
+	autotools-utils_src_install
+	dosym ${MODULES_PATH}/${MODULES_VERSION} ${MODULES_PATH}/default
+}
+
+pkg_postinst() {
+	elog "Add this line at the end of your bashrc:"
+	elog "[ -e \"${MODULES_PATH}/default/init/bash\" ] && . \"${MODULES_PATH}/default/init/bash\""
+}



             reply	other threads:[~2012-07-05 18:04 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-05 18:04 Nicolas Bock [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-05-02 12:15 [gentoo-commits] proj/sci:master commit in: sys-cluster/modules/ Andrew Ammerlaan
2023-01-03 18:16 Andrew Ammerlaan
2023-01-03 18:16 Andrew Ammerlaan
2020-09-26 20:45 Aisha Tammy
2017-08-25 19:36 Andrew Savchenko
2016-03-29 17:59 Justin Lecher
2013-12-13 19:12 Nicolas Bock
2013-06-11 14:25 Justin Lecher
2013-06-06 15:57 Nicolas Bock
2012-07-06 15:31 Nicolas Bock
2012-07-06 15:08 Nicolas Bock
2012-07-05 17:49 Nicolas Bock
2012-06-22 14:21 Kacper Kowalik
2012-06-22 14:21 Kacper Kowalik
2012-06-22 14:21 Kacper Kowalik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1341511394.5d2972bef61cfccc536c701fd034338e280939e7.nicolasbock@gentoo \
    --to=nicolasbock@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox