summaryrefslogtreecommitdiff
blob: df33d6e94d7c4631cbc0c4673ba3f605eb4628c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/lspbs/lspbs-1.0-r1.ebuild,v 1.1 2005/07/05 20:19:20 robbat2 Exp $

DESCRIPTION="Displays clear, concise and up-to-date PBS node and CPU usage information."
SRC_URI="http://homepages.inf.ed.ac.uk/s0239160/misc/lspbs/lspbs-${PV}.tar.gz"
HOMEPAGE="http://homepages.inf.ed.ac.uk/s0239160/misc/lspbs/lspbs.html"
IUSE=""

DEPEND="virtual/libc
		virtual/pbs"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86 ~amd64 ~ppc"

src_compile() {
	cd ${S}
	./configure --mandir=/usr/share/man --prefix=/usr --with-pbs=/usr --with-pbs-src=/usr || die
	make || die
}

src_install() {
	dodir /usr/sbin
	dodir /usr/local/bin

	make install prefix=${D}/usr mandir=${D}/usr/share/man infodir=/usr/share/infoinstall || die

	dodoc COPYING README
	doman lspbs.1
}