diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
commit | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch) | |
tree | 4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /sys-cluster/maui/maui-3.3.1-r2.ebuild | |
parent | b284a3168fa91a038925d2ecf5e4791011ea5e7d (diff) |
gentoo resync : 15.12.2019
Diffstat (limited to 'sys-cluster/maui/maui-3.3.1-r2.ebuild')
-rw-r--r-- | sys-cluster/maui/maui-3.3.1-r2.ebuild | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/sys-cluster/maui/maui-3.3.1-r2.ebuild b/sys-cluster/maui/maui-3.3.1-r2.ebuild deleted file mode 100644 index f14cfeaf5d75..000000000000 --- a/sys-cluster/maui/maui-3.3.1-r2.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -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 your DISTDIR directory." -} |