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

Contents of /sys-cluster/maui/maui-3.2.6_p16.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Tue Sep 6 08:23:37 2011 UTC (3 years ago) by jlec
Branch: MAIN
Changes since 1.5: +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.2.6_p16.ebuild,v 1.5 2010/03/02 02:31:24 jsbronder Exp $
4
5 inherit autotools eutils multilib
6
7 DESCRIPTION="Maui Cluster Scheduler"
8 HOMEPAGE="http://www.clusterresources.com/pages/products/maui-cluster-scheduler.php"
9 SRC_URI="http://www.clusterresources.com/downloads/maui/${P/_/}.tar.gz"
10 IUSE=""
11 DEPEND="sys-cluster/torque"
12 RDEPEND="${DEPEND}"
13 SLOT="0"
14 LICENSE="maui"
15 KEYWORDS="~x86 ~amd64"
16 RESTRICT="fetch mirror"
17
18 S="${WORKDIR}/${P/_/}"
19
20 src_unpack() {
21 unpack ${A}
22 cd "${S}"
23 epatch "${FILESDIR}"/${PV}-set-pbs-cflags-ldflags.patch
24 epatch "${FILESDIR}"/${PV}-autoconf-2.60-compat.patch
25 epatch "${FILESDIR}"/${PV}-link-pbs-after-moab.patch
26 sed -i \
27 -e "s~BUILDROOT=~BUILDROOT=${D}~" \
28 "${S}"/Makefile.in
29 eautoreconf
30 }
31
32 src_compile() {
33 econf \
34 --with-spooldir=/usr/spool/maui \
35 --with-pbs=/usr/$(get_libdir)/pbs \
36 || die "econf failed!"
37 emake || die "emake failed!"
38 }
39
40 src_install() {
41 make install INST_DIR="${D}"/usr
42
43 cd docs
44 dodoc README mauidocs.html
45 }

  ViewVC Help
Powered by ViewVC 1.1.20