diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /sys-cluster/maui | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sys-cluster/maui')
-rw-r--r-- | sys-cluster/maui/Manifest | 4 | ||||
-rw-r--r-- | sys-cluster/maui/files/3.2.6_p16-autoconf-2.60-compat.patch | 17 | ||||
-rw-r--r-- | sys-cluster/maui/files/3.2.6_p16-link-pbs-after-moab.patch | 25 | ||||
-rw-r--r-- | sys-cluster/maui/files/3.2.6_p16-set-pbs-cflags-ldflags.patch | 26 | ||||
-rw-r--r-- | sys-cluster/maui/files/3.2.6_p21-autoconf-2.60-compat.patch | 11 | ||||
-rw-r--r-- | sys-cluster/maui/files/maui-3.2.6_p21-pbs-nodefile.patch | 23 | ||||
-rw-r--r-- | sys-cluster/maui/files/maui-3.3.1-torque_4.patch | 14 | ||||
-rw-r--r-- | sys-cluster/maui/files/maui.initd | 24 | ||||
-rw-r--r-- | sys-cluster/maui/maui-3.2.6_p16.ebuild | 45 | ||||
-rw-r--r-- | sys-cluster/maui/maui-3.2.6_p21-r1.ebuild | 46 | ||||
-rw-r--r-- | sys-cluster/maui/maui-3.2.6_p21.ebuild | 44 | ||||
-rw-r--r-- | sys-cluster/maui/maui-3.3.1-r2.ebuild | 60 | ||||
-rw-r--r-- | sys-cluster/maui/maui-3.3.1-r3.ebuild | 62 | ||||
-rw-r--r-- | sys-cluster/maui/maui-3.3.ebuild | 50 | ||||
-rw-r--r-- | sys-cluster/maui/metadata.xml | 9 |
15 files changed, 460 insertions, 0 deletions
diff --git a/sys-cluster/maui/Manifest b/sys-cluster/maui/Manifest new file mode 100644 index 000000000000..fefe35a83fb9 --- /dev/null +++ b/sys-cluster/maui/Manifest @@ -0,0 +1,4 @@ +DIST maui-3.2.6p16.tar.gz 900100 SHA256 6b86bd90f9e4339f22fc19e1396a0f4c4f453d0274d711373a993ae3d2bcfffb +DIST maui-3.2.6p21.tar.gz 990182 SHA256 929ffa51aa753f58bcc62de9876c23677895742f63511c2df4b0048b9353b27e +DIST maui-3.3.1.tar.gz 901179 SHA256 033a1ab40da69bc091ce5d01199ac599de0b6bbdfa404b9b1631ee964dc711a1 SHA512 e22a0f08b40d810792175b5bc15a53831e84eeab43ddc79ebc3e10a2d5c0b77a4634ff67975f9dae06fbb84f84cb3a95e9cbfcb8086734dbd41caee3359675b0 WHIRLPOOL 0d3bcb6284b852881b2ac4faf83abf7d8668db53e94938f82ba73e7f8f4ca9e5e3fbb698b984fd1d053ffa1514431bf18d958915e783045a94578767cd675bf6 +DIST maui-3.3.tar.gz 898673 SHA256 3135efd351f48654cb62b04fa2040fdbf76f873e728b4459bf833b4d549e1e42 diff --git a/sys-cluster/maui/files/3.2.6_p16-autoconf-2.60-compat.patch b/sys-cluster/maui/files/3.2.6_p16-autoconf-2.60-compat.patch new file mode 100644 index 000000000000..e22453dc0b1b --- /dev/null +++ b/sys-cluster/maui/files/3.2.6_p16-autoconf-2.60-compat.patch @@ -0,0 +1,17 @@ +--- maui-3.2.6p16.orig/Makefile.in 2006-05-23 15:20:49.000000000 -0700 ++++ maui-3.2.6p16/Makefile.in 2006-09-25 20:42:24.000000000 -0700 +@@ -18,7 +18,13 @@ + # ============================ + # Resource Manager section + # ============================ +-@ll_definitions@@sdr_definitions@@pbs_definitions@@sge_definitions@@lsf_definitions@@mx_definitions@@pcre_definitions@ ++@ll_definitions@ ++@sdr_definitions@ ++@pbs_definitions@ ++@sge_definitions@ ++@lsf_definitions@ ++@mx_definitions@ ++@pcre_definitions@ + + # ============================ + # Master Makefile for @PACKAGE_NAME@-@PACKAGE_VERSION@ diff --git a/sys-cluster/maui/files/3.2.6_p16-link-pbs-after-moab.patch b/sys-cluster/maui/files/3.2.6_p16-link-pbs-after-moab.patch new file mode 100644 index 000000000000..a4675abe304a --- /dev/null +++ b/sys-cluster/maui/files/3.2.6_p16-link-pbs-after-moab.patch @@ -0,0 +1,25 @@ +--- maui-3.2.6p16.orig/src/server/Makefile 2006-09-25 16:08:33.000000000 -0700 ++++ maui-3.2.6p16/src/server/Makefile 2006-09-25 21:12:47.000000000 -0700 +@@ -88,11 +88,11 @@ + $(CC) $(IP) $(DEFS) $(CFLAGS) $(SOURCE) -c $< + + $(SERVER): $(SOBJECTS) +- $(LD) $(SOBJECTS) -o $(BIN)/$@ $(LP) $(LIBS) $(OSLDFLAGS) ++ $(LD) $(SOBJECTS) -o $(BIN)/$@ $(LIBS) $(LP) $(OSLDFLAGS) + chmod 711 $(BIN)/$@ || true + + mclient: mclient.o +- $(LD) mclient.o -o $(BIN)/$@ $(OSLDFLAGS) $(LP) $(LIBS) ++ $(LD) mclient.o -o $(BIN)/$@ $(OSLDFLAGS) $(LIBS) $(LP) + chmod 751 $(BIN)/$@ + for i in $(MCLIENTS); do \ + ln -f $(BIN)/$@ $(BIN)/$$i; \ +@@ -100,7 +100,7 @@ + done + + mprof: $(POBJECTS) +- $(LD) $(POBJECTS) -o $(BIN)/$@ $(OSLDFLAGS) $(LP) $(LIBS) ++ $(LD) $(POBJECTS) -o $(BIN)/$@ $(OSLDFLAGS) $(LIBS) $(LP) + chmod 751 $(BIN)/$@ + + clean: diff --git a/sys-cluster/maui/files/3.2.6_p16-set-pbs-cflags-ldflags.patch b/sys-cluster/maui/files/3.2.6_p16-set-pbs-cflags-ldflags.patch new file mode 100644 index 000000000000..7455350a0dc0 --- /dev/null +++ b/sys-cluster/maui/files/3.2.6_p16-set-pbs-cflags-ldflags.patch @@ -0,0 +1,26 @@ +--- maui-3.2.6p16.orig/configure.ac 2006-09-25 16:08:33.000000000 -0700 ++++ maui-3.2.6p16/configure.ac 2006-09-25 21:29:17.000000000 -0700 +@@ -149,13 +149,19 @@ + else + AC_MSG_ERROR([Only one Resource Manager can be specified (PBS, $RMTYPE)]) + fi +- if test "$OS" = "OSF"; then +- PBSLIBS="$PBSTARGETDIR/ilib/libnet.a -lpbs" ++ if pbs-config --cflags 1>/dev/null 2>&1;then ++ PBSCFLAGS=`pbs-config --cflags` + else +- PBSLIBS="-lnet -lpbs" ++ PBSCFLAGS=-I$PBSTARGETDIR/include + fi ++ if pbs-config --libs 1>/dev/null 2>&1;then ++ PBSLDFLAGS=`pbs-config --libs` ++ else ++ PBSLDFLAGS="-L$PBSTARGETDIR/lib -lnet -lpbs" ++ fi ++ AC_SUBST(PBSCFLAGS) ++ AC_SUBST(PBSLDFLAGS) + AC_SUBST(PBSTARGETDIR) +- AC_SUBST(PBSLIBS) + AC_SUBST_FILE(pbs_definitions) + pbs_definitions=include/Makefile.inc.pbs + fi diff --git a/sys-cluster/maui/files/3.2.6_p21-autoconf-2.60-compat.patch b/sys-cluster/maui/files/3.2.6_p21-autoconf-2.60-compat.patch new file mode 100644 index 000000000000..9b77a27f88df --- /dev/null +++ b/sys-cluster/maui/files/3.2.6_p21-autoconf-2.60-compat.patch @@ -0,0 +1,11 @@ +--- maui-3.2.6p21.orig/Makefile.in 2006-05-23 15:20:49.000000000 -0700 ++++ maui-3.2.6p21/Makefile.in 2006-09-25 20:42:24.000000000 -0700 +@@ -18,7 +18,7 @@ + # ============================ + # Resource Manager section + # ============================ +-@ll_definitions@@sdr_definitions@@pbs_definitions@@sge_definitions@@lsf_definitions@@mx_definitions@@pcre_definitions@ ++@pbs_definitions@ + + # ============================ + # Master Makefile for @PACKAGE_NAME@-@PACKAGE_VERSION@ diff --git a/sys-cluster/maui/files/maui-3.2.6_p21-pbs-nodefile.patch b/sys-cluster/maui/files/maui-3.2.6_p21-pbs-nodefile.patch new file mode 100644 index 000000000000..90bf80ca661a --- /dev/null +++ b/sys-cluster/maui/files/maui-3.2.6_p21-pbs-nodefile.patch @@ -0,0 +1,23 @@ +--- maui-3.2.6p21/src/moab/MPBSI.c.orig 2010-03-16 12:54:09.000000000 +0100 ++++ maui-3.2.6p21/src/moab/MPBSI.c 2010-03-16 12:57:07.000000000 +0100 +@@ -6406,6 +6406,7 @@ + int tindex; + + char tmpHostName[MAX_MLINE]; ++ char tmpTaskList[MAX_MLINE+10]; + + mnode_t *N; + +@@ -6458,10 +6459,10 @@ + } + else + { +- sprintf(TSBuf,"%s%s:ppn=%d", +- TSBuf, ++ snprintf (tmpTaskList,MAX_MLINE+10,"%s:ppn=%d", + tmpHostName, + NL[tindex].TC); ++ MUStrCat(TSBuf,tmpTaskList,BufSize); + } + } /* END for (tindex) */ + diff --git a/sys-cluster/maui/files/maui-3.3.1-torque_4.patch b/sys-cluster/maui/files/maui-3.3.1-torque_4.patch new file mode 100644 index 000000000000..1e0631555736 --- /dev/null +++ b/sys-cluster/maui/files/maui-3.3.1-torque_4.patch @@ -0,0 +1,14 @@ +diff -ur maui-3.3.1.orig/src/moab/MPBSI.c maui-3.3.1/src/moab/MPBSI.c +--- maui-3.3.1.orig/src/moab/MPBSI.c 2013-07-31 09:36:31.831849229 -0700 ++++ maui-3.3.1/src/moab/MPBSI.c 2013-07-31 09:37:12.951107957 -0700 +@@ -174,8 +174,8 @@ + + extern int pbs_errno; + +-extern int get_svrport(const char *,char *,int); +-extern int openrm(char *,int); ++extern unsigned int get_svrport(char *,char *,unsigned int); ++extern int openrm(char *,unsigned int); + extern int addreq(int,char *); + extern int closerm(int); + extern int pbs_stagein(int,char *,char *,char *); diff --git a/sys-cluster/maui/files/maui.initd b/sys-cluster/maui/files/maui.initd new file mode 100644 index 000000000000..fd7b7e0cc3db --- /dev/null +++ b/sys-cluster/maui/files/maui.initd @@ -0,0 +1,24 @@ +#!/sbin/runscript +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +depend() { + need net + after pbs_server slurmctld + before pbs_mom slurmd + after logger +} + +start() { + ebegin "Starting Maui scheduler" + start-stop-daemon --start --exec /usr/sbin/maui + eend ${?} +} + +stop() { + ebegin "Stopping Maui scheduler" + start-stop-daemon --stop -p /var/spool/maui/maui.pid + eend ${?} +} +# vim:ts=4 diff --git a/sys-cluster/maui/maui-3.2.6_p16.ebuild b/sys-cluster/maui/maui-3.2.6_p16.ebuild new file mode 100644 index 000000000000..31004218b3d2 --- /dev/null +++ b/sys-cluster/maui/maui-3.2.6_p16.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit autotools eutils multilib + +DESCRIPTION="Maui Cluster Scheduler" +HOMEPAGE="http://www.adaptivecomputing.com/products/open-source/maui/" +SRC_URI="http://www.clusterresources.com/downloads/maui/${P/_/}.tar.gz" +IUSE="" +DEPEND="sys-cluster/torque" +RDEPEND="${DEPEND}" +SLOT="0" +LICENSE="maui" +KEYWORDS="~x86 ~amd64" +RESTRICT="fetch mirror" + +S="${WORKDIR}/${P/_/}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PV}-set-pbs-cflags-ldflags.patch + epatch "${FILESDIR}"/${PV}-autoconf-2.60-compat.patch + epatch "${FILESDIR}"/${PV}-link-pbs-after-moab.patch + sed -i \ + -e "s~BUILDROOT=~BUILDROOT=${D}~" \ + "${S}"/Makefile.in + eautoreconf +} + +src_compile() { + econf \ + --with-spooldir=/usr/spool/maui \ + --with-pbs=/usr/$(get_libdir)/pbs \ + || die "econf failed!" + emake || die "emake failed!" +} + +src_install() { + make install INST_DIR="${D}"/usr + + cd docs + dodoc README mauidocs.html +} diff --git a/sys-cluster/maui/maui-3.2.6_p21-r1.ebuild b/sys-cluster/maui/maui-3.2.6_p21-r1.ebuild new file mode 100644 index 000000000000..2d51a1371e5d --- /dev/null +++ b/sys-cluster/maui/maui-3.2.6_p21-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit autotools eutils multilib + +DESCRIPTION="Maui Cluster Scheduler" +HOMEPAGE="http://www.adaptivecomputing.com/products/open-source/maui/" +SRC_URI="http://www.clusterresources.com/downloads/maui/${P/_/}.tar.gz" +IUSE="" +DEPEND="sys-cluster/torque" +RDEPEND="${DEPEND}" +SLOT="0" +LICENSE="maui" +KEYWORDS="~x86 ~amd64" +RESTRICT="fetch mirror" + +S="${WORKDIR}/${P/_/}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PV}-autoconf-2.60-compat.patch + # http://www.supercluster.org/pipermail/mauiusers/2010-March/004174.html + epatch "${FILESDIR}"/maui-3.2.6_p21-pbs-nodefile.patch + sed -i \ + -e "s~BUILDROOT=~BUILDROOT=${D}~" \ + "${S}"/Makefile.in + eautoreconf +} + +src_compile() { + econf --with-spooldir=/usr/spool/maui || die + emake || die +} + +src_install() { + make install INST_DIR="${D}/usr" + cd docs + dodoc README mauidocs.html +} + +pkg_nofetch() { + einfo "Please visit ${HOMEPAGE}, obtain the file" + einfo "${P/_/}.tar.gz and put it in ${DISTDIR}" +} diff --git a/sys-cluster/maui/maui-3.2.6_p21.ebuild b/sys-cluster/maui/maui-3.2.6_p21.ebuild new file mode 100644 index 000000000000..72751b8c686c --- /dev/null +++ b/sys-cluster/maui/maui-3.2.6_p21.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit autotools eutils multilib + +DESCRIPTION="Maui Cluster Scheduler" +HOMEPAGE="http://www.adaptivecomputing.com/products/open-source/maui/" +SRC_URI="http://www.clusterresources.com/downloads/maui/${P/_/}.tar.gz" +IUSE="" +DEPEND="sys-cluster/torque" +RDEPEND="${DEPEND}" +SLOT="0" +LICENSE="maui" +KEYWORDS="~x86 ~amd64" +RESTRICT="fetch mirror" + +S="${WORKDIR}/${P/_/}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PV}-autoconf-2.60-compat.patch + sed -i \ + -e "s~BUILDROOT=~BUILDROOT=${D}~" \ + "${S}"/Makefile.in + eautoreconf +} + +src_compile() { + econf --with-spooldir=/usr/spool/maui || die + emake || die +} + +src_install() { + make install INST_DIR="${D}/usr" + cd docs + dodoc README mauidocs.html +} + +pkg_nofetch() { + einfo "Please visit ${HOMEPAGE}, obtain the file" + einfo "${P/_/}.tar.gz and put it in ${DISTDIR}" +} diff --git a/sys-cluster/maui/maui-3.3.1-r2.ebuild b/sys-cluster/maui/maui-3.3.1-r2.ebuild new file mode 100644 index 000000000000..b20236772829 --- /dev/null +++ b/sys-cluster/maui/maui-3.3.1-r2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit eutils multilib + +DESCRIPTION="Maui Cluster Scheduler" +HOMEPAGE="http://www.adaptivecomputing.com/products/open-source/maui/" +SRC_URI="http://www.adaptivecomputing.com/download/${PN}/${P}.tar.gz" + +LICENSE="maui" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="pbs slurm" + +REQUIRED_USE="^^ ( pbs slurm )" + +DEPEND=" + pbs? ( sys-cluster/torque ) + slurm? ( sys-cluster/slurm )" +RDEPEND="${DEPEND}" + +RESTRICT="fetch mirror" + +pkg_setup() { + if use slurm; then + if [ -z ${MAUI_KEY} ]; then + eerror "You should set MAUI_KEY to any integer value in make.conf" + return 1 + fi + fi +} + +src_prepare() { + sed -e "s:\$(INST_DIR)/lib:\$(INST_DIR)/$(get_libdir):" \ + -i src/{moab,server,mcom}/Makefile || die +} + +src_configure() { + local myconf + use pbs && myconf="--with-pbs=${EPREFIX}/usr" + use slurm && myconf+=" --with-wiki --with-key=${MAUI_KEY}" + econf \ + --with-spooldir="${EPREFIX}"/var/spool/${PN} \ + ${myconf} +} + +src_install() { + emake BUILDROOT="${D}" INST_DIR="${ED}/usr" install || die + dodoc docs/README CHANGELOG || die + dohtml docs/mauidocs.html || die + newinitd "${FILESDIR}/${PN}.initd" ${PN} || die +} + +pkg_nofetch() { + einfo "Please visit ${HOMEPAGE}, obtain the file" + einfo "${P}.tar.gz and put it in ${DISTDIR}" +} diff --git a/sys-cluster/maui/maui-3.3.1-r3.ebuild b/sys-cluster/maui/maui-3.3.1-r3.ebuild new file mode 100644 index 000000000000..43f46c3c57ee --- /dev/null +++ b/sys-cluster/maui/maui-3.3.1-r3.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit eutils multilib + +DESCRIPTION="Maui Cluster Scheduler" +HOMEPAGE="http://www.adaptivecomputing.com/products/open-source/maui/" +SRC_URI="http://www.adaptivecomputing.com/download/${PN}/${P}.tar.gz" + +LICENSE="maui" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="pbs slurm" + +REQUIRED_USE="^^ ( pbs slurm )" + +DEPEND=" + pbs? ( >=sys-cluster/torque-4 ) + slurm? ( sys-cluster/slurm )" +RDEPEND="${DEPEND}" + +RESTRICT="fetch mirror" + +pkg_setup() { + if use slurm; then + if [ -z ${MAUI_KEY} ]; then + eerror "You should set MAUI_KEY to any integer value in make.conf" + return 1 + fi + fi +} + +src_prepare() { + sed -e "s:\$(INST_DIR)/lib:\$(INST_DIR)/$(get_libdir):" \ + -i src/{moab,server,mcom}/Makefile || die + + epatch "${FILESDIR}"/${P}-torque_4.patch +} + +src_configure() { + local myconf + use pbs && myconf="--with-pbs=${EPREFIX}/usr" + use slurm && myconf+=" --with-wiki --with-key=${MAUI_KEY}" + econf \ + --with-spooldir="${EPREFIX}"/var/spool/${PN} \ + ${myconf} +} + +src_install() { + emake BUILDROOT="${D}" INST_DIR="${ED}/usr" install || die + dodoc docs/README CHANGELOG || die + dohtml docs/mauidocs.html || die + newinitd "${FILESDIR}/${PN}.initd" ${PN} || die +} + +pkg_nofetch() { + einfo "Please visit ${HOMEPAGE}, obtain the file" + einfo "${P}.tar.gz and put it in ${DISTDIR}" +} diff --git a/sys-cluster/maui/maui-3.3.ebuild b/sys-cluster/maui/maui-3.3.ebuild new file mode 100644 index 000000000000..f3e8ec607ebd --- /dev/null +++ b/sys-cluster/maui/maui-3.3.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" + +inherit autotools eutils multilib + +DESCRIPTION="Maui Cluster Scheduler" +HOMEPAGE="http://www.adaptivecomputing.com/products/open-source/maui/" +SRC_URI="http://www.clusterresources.com/downloads/maui/${P/_/}.tar.gz" + +IUSE="" +SLOT="0" +LICENSE="maui" +KEYWORDS="~amd64 ~x86 ~amd64-linux" + +DEPEND="sys-cluster/torque" +RDEPEND="${DEPEND}" + +RESTRICT="fetch mirror" + +S="${WORKDIR}/${P/_/}" + +src_prepare() { + epatch "${FILESDIR}"/3.2.6_p21-autoconf-2.60-compat.patch + # http://www.supercluster.org/pipermail/mauiusers/2010-March/004174.html + epatch "${FILESDIR}"/maui-3.2.6_p21-pbs-nodefile.patch + sed -i \ + -e "s~BUILDROOT=~BUILDROOT=${D}~" \ + "${S}"/Makefile.in + eautoreconf +} + +src_configure() { + econf \ + --with-spooldir="${EPREFIX}"/usr/spool/maui \ + --with-pbs="${EPREFIX}"/usr/ +} + +src_install() { + emake install INST_DIR="${ED}/usr" + dodoc docs/README CHANGELOG || die + dohtml docs/mauidocs.html || die +} + +pkg_nofetch() { + einfo "Please visit ${HOMEPAGE}, obtain the file" + einfo "${P/_/}.tar.gz and put it in ${DISTDIR}" +} diff --git a/sys-cluster/maui/metadata.xml b/sys-cluster/maui/metadata.xml new file mode 100644 index 000000000000..2d85b047fcca --- /dev/null +++ b/sys-cluster/maui/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>cluster</herd> + <use> + <flag name="pbs">Enable pbs integration</flag> + <flag name="slurm">Enable slurm integration</flag> + </use> +</pkgmetadata> |