summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2012-10-07 09:35:32 +0000
committerPacho Ramos <pacho@gentoo.org>2012-10-07 09:35:32 +0000
commit2988ca320a05b1b5b6c50f78d62d0aaedb80c59c (patch)
treed692d0a81625f741a5e3102be8f436ea28b2217f /sys-apps/dmtcp
parentppc stable #429036 (diff)
downloadgentoo-2-2988ca320a05b1b5b6c50f78d62d0aaedb80c59c.tar.gz
gentoo-2-2988ca320a05b1b5b6c50f78d62d0aaedb80c59c.tar.bz2
gentoo-2-2988ca320a05b1b5b6c50f78d62d0aaedb80c59c.zip
Version bump as current version doesn't compile for a long time (#367687).
(Portage version: 2.1.11.24/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/dmtcp')
-rw-r--r--sys-apps/dmtcp/ChangeLog7
-rw-r--r--sys-apps/dmtcp/dmtcp-1.2.6.ebuild62
2 files changed, 68 insertions, 1 deletions
diff --git a/sys-apps/dmtcp/ChangeLog b/sys-apps/dmtcp/ChangeLog
index de41ab5e19cc..1e706ac14466 100644
--- a/sys-apps/dmtcp/ChangeLog
+++ b/sys-apps/dmtcp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/dmtcp
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/dmtcp/ChangeLog,v 1.4 2012/10/07 09:13:43 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/dmtcp/ChangeLog,v 1.5 2012/10/07 09:35:32 pacho Exp $
+
+*dmtcp-1.2.6 (07 Oct 2012)
+
+ 07 Oct 2012; Pacho Ramos <pacho@gentoo.org> +dmtcp-1.2.6.ebuild:
+ Version bump as current version doesn't compile for a long time (#367687).
07 Oct 2012; Pacho Ramos <pacho@gentoo.org> metadata.xml:
Drop maintainer due retirement, #24135.
diff --git a/sys-apps/dmtcp/dmtcp-1.2.6.ebuild b/sys-apps/dmtcp/dmtcp-1.2.6.ebuild
new file mode 100644
index 000000000000..e946c4d2c069
--- /dev/null
+++ b/sys-apps/dmtcp/dmtcp-1.2.6.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/dmtcp/dmtcp-1.2.6.ebuild,v 1.1 2012/10/07 09:35:32 pacho Exp $
+
+EAPI=4
+inherit elisp-common eutils multilib
+
+DESCRIPTION="DMTCP is the Distributed MultiThreaded Checkpointing tool."
+HOMEPAGE="http://dmtcp.sourceforge.net/index.html"
+SRC_URI="mirror://sourceforge/dmtcp/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug emacs fast mpi trace"
+
+RDEPEND="sys-libs/readline
+ app-arch/gzip
+ sys-kernel/linux-headers
+ emacs? ( dev-lisp/clisp )
+ mpi? ( virtual/mpi )
+ || ( app-shells/dash
+ app-shells/zsh
+ app-shells/tcsh
+ )"
+
+DEPEND="${RDEPEND}
+ sys-devel/patch"
+
+src_configure() {
+ local myconf="--disable-stale-socket-handling"
+
+ if use debug; then
+ use trace && myconf=" ${myconf} --enable-ptrace-support"
+ myconf=" ${myconf} --disable-pid-virtualization"
+ fi
+
+ use fast && myconf=" ${myconf} --disable-pid-virtualization \
+ --enable-forked-checkpointing \
+ --enable-allocator"
+
+ use mpi && myconf=" ${myconf} --with-mpich=/usr/bin"
+
+ econf $(use_enable debug) $myconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ dodoc TODO QUICK-START ${PN}/README
+
+ dodir /usr/share/${PF}/examples
+ mv "${D}"usr/$(get_libdir)/${PN}/examples "${D}"usr/share/${PF}/examples
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}