/[gentoo-x86]/sys-cluster/maui/maui-3.3.ebuild
Gentoo

Contents of /sys-cluster/maui/maui-3.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Sep 6 08:23:37 2011 UTC (3 years, 2 months ago) by jlec
Branch: MAIN
Changes since 1.1: +3 -3 lines
Fixed HOMEPAGE

(Portage version: 2.2.0_alpha53/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-cluster/maui/maui-3.3.ebuild,v 1.1 2010/07/15 07:06:30 jlec Exp $
4
5 EAPI="3"
6
7 inherit autotools eutils multilib
8
9 DESCRIPTION="Maui Cluster Scheduler"
10 HOMEPAGE="http://www.clusterresources.com/pages/products/maui-cluster-scheduler.php"
11 SRC_URI="http://www.clusterresources.com/downloads/maui/${P/_/}.tar.gz"
12
13 IUSE=""
14 SLOT="0"
15 LICENSE="maui"
16 KEYWORDS="~amd64 ~x86 ~amd64-linux"
17
18 DEPEND="sys-cluster/torque"
19 RDEPEND="${DEPEND}"
20
21 RESTRICT="fetch mirror"
22
23 S="${WORKDIR}/${P/_/}"
24
25 src_prepare() {
26 epatch "${FILESDIR}"/3.2.6_p21-autoconf-2.60-compat.patch
27 # http://www.supercluster.org/pipermail/mauiusers/2010-March/004174.html
28 epatch "${FILESDIR}"/maui-3.2.6_p21-pbs-nodefile.patch
29 sed -i \
30 -e "s~BUILDROOT=~BUILDROOT=${D}~" \
31 "${S}"/Makefile.in
32 eautoreconf
33 }
34
35 src_configure() {
36 econf \
37 --with-spooldir="${EPREFIX}"/usr/spool/maui \
38 --with-pbs="${EPREFIX}"/usr/
39 }
40
41 src_install() {
42 emake install INST_DIR="${ED}/usr"
43 dodoc docs/README CHANGELOG || die
44 dohtml docs/mauidocs.html || die
45 }
46
47 pkg_nofetch() {
48 einfo "Please visit ${HOMEPAGE}, obtain the file"
49 einfo "${P/_/}.tar.gz and put it in ${DISTDIR}"
50 }

  ViewVC Help
Powered by ViewVC 1.1.20