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

Contents of /sys-cluster/maui/maui-3.2.6_p21-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Sep 6 08:23:37 2011 UTC (2 years, 11 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.2.6_p21-r1.ebuild,v 1.1 2010/03/24 22:30:13 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}-autoconf-2.60-compat.patch
24 # http://www.supercluster.org/pipermail/mauiusers/2010-March/004174.html
25 epatch "${FILESDIR}"/maui-3.2.6_p21-pbs-nodefile.patch
26 sed -i \
27 -e "s~BUILDROOT=~BUILDROOT=${D}~" \
28 "${S}"/Makefile.in
29 eautoreconf
30 }
31
32 src_compile() {
33 econf --with-spooldir=/usr/spool/maui || die
34 emake || die
35 }
36
37 src_install() {
38 make install INST_DIR="${D}/usr"
39 cd docs
40 dodoc README mauidocs.html
41 }
42
43 pkg_nofetch() {
44 einfo "Please visit ${HOMEPAGE}, obtain the file"
45 einfo "${P/_/}.tar.gz and put it in ${DISTDIR}"
46 }

  ViewVC Help
Powered by ViewVC 1.1.20