summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2005-07-05 01:25:54 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2005-07-05 01:25:54 +0000
commit0087d6e6c639d90cb257c69711effb376add78c2 (patch)
treef3cbb44b3474310a0fdda75bc8b8d833fb4d977a /sys-cluster/maui
parentAdd maui license for sys-cluster/maui - this is a modified GPL, with commerci... (diff)
downloadgentoo-2-0087d6e6c639d90cb257c69711effb376add78c2.tar.gz
gentoo-2-0087d6e6c639d90cb257c69711effb376add78c2.tar.bz2
gentoo-2-0087d6e6c639d90cb257c69711effb376add78c2.zip
Initial commit of sys-cluster/maui. Ebuild by Pat Lougheed <patl@sfu.ca> and Robin Hugh Johnson <robbat2@gentoo.org>.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'sys-cluster/maui')
-rw-r--r--sys-cluster/maui/ChangeLog11
-rw-r--r--sys-cluster/maui/Manifest2
-rw-r--r--sys-cluster/maui/files/digest-maui-3.2.6_p131
-rw-r--r--sys-cluster/maui/maui-3.2.6_p13.ebuild38
-rw-r--r--sys-cluster/maui/metadata.xml5
5 files changed, 57 insertions, 0 deletions
diff --git a/sys-cluster/maui/ChangeLog b/sys-cluster/maui/ChangeLog
new file mode 100644
index 000000000000..81afd4d29dfb
--- /dev/null
+++ b/sys-cluster/maui/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for sys-cluster/maui
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/maui/ChangeLog,v 1.1 2005/07/05 01:25:54 robbat2 Exp $
+
+*maui-3.2.6_p13 (05 Jul 2005)
+
+ 05 Jul 2005; Robin H. Johnson <robbat2@gentoo.org> +metadata.xml,
+ +maui-3.2.6_p13.ebuild:
+ Initial commit of sys-cluster/maui. Ebuild by Pat Lougheed <patl@sfu.ca> and
+ Robin Hugh Johnson <robbat2@gentoo.org>.
+
diff --git a/sys-cluster/maui/Manifest b/sys-cluster/maui/Manifest
new file mode 100644
index 000000000000..851115d58d7a
--- /dev/null
+++ b/sys-cluster/maui/Manifest
@@ -0,0 +1,2 @@
+MD5 0c5d3a65ab2a256f0db35c60b1c6d446 maui-3.2.6_p13.ebuild 854
+MD5 fde8f44cd269994249e50cb6d3440901 files/digest-maui-3.2.6_p13 65
diff --git a/sys-cluster/maui/files/digest-maui-3.2.6_p13 b/sys-cluster/maui/files/digest-maui-3.2.6_p13
new file mode 100644
index 000000000000..908a4a6baf89
--- /dev/null
+++ b/sys-cluster/maui/files/digest-maui-3.2.6_p13
@@ -0,0 +1 @@
+MD5 b330867069ded056f2cf33253fd34c7b maui-3.2.6p13.tar.gz 883810
diff --git a/sys-cluster/maui/maui-3.2.6_p13.ebuild b/sys-cluster/maui/maui-3.2.6_p13.ebuild
new file mode 100644
index 000000000000..1dbb759cc72b
--- /dev/null
+++ b/sys-cluster/maui/maui-3.2.6_p13.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/maui/maui-3.2.6_p13.ebuild,v 1.1 2005/07/05 01:25:54 robbat2 Exp $
+
+DESCRIPTION="Maui Cluster Scheduler"
+HOMEPAGE="http://www.clusterresources.com/products/maui/"
+SRC_URI="http://www.clusterresources.com/downloads/maui/${P/_/}.tar.gz"
+IUSE=""
+DEPEND=">=sys-cluster/torque-1.2.0_p1-r1"
+RDEPEND="${DEPEND}
+ virtual/libc"
+SLOT="0"
+LICENSE="maui"
+KEYWORDS="~x86"
+RESTRICT="fetch nomirror"
+
+S="${WORKDIR}/${P/_/}"
+
+src_compile() {
+ econf --with-spooldir=/usr/spool/maui --with-pbs || die "econf failed!"
+
+ # Torque on Gentoo installs libnet.a, which clobbers libnet.a from libnet.
+ # (Stupid developers.) Unfortunately, libnet also installs libnet.so, which
+ # Torque doesn't clobber, so when running make we end up linking against
+ # .so rather than .a. Big problem. Fix it.
+
+ sed -i -e "s~-lnet~/usr/lib/torque/libnet.a~" Makefile
+ sed -i -e "s~-lpbs~/usr/lib/torque/libpbs.a~" Makefile
+ sed -i -e "s~BUILDROOT=~BUILDROOT=${D}~" Makefile
+ emake || die "emake failed!"
+}
+
+src_install() {
+ make install INST_DIR=${D}/usr
+
+ cd docs
+ dodoc README mauidocs.html
+}
diff --git a/sys-cluster/maui/metadata.xml b/sys-cluster/maui/metadata.xml
new file mode 100644
index 000000000000..348e6c4de815
--- /dev/null
+++ b/sys-cluster/maui/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>cluster</herd>
+</pkgmetadata>