blob: f814150b349880dc1a95d6f2c9f69d66797afff7 [file] [log] [blame]
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/lspbs/lspbs-1.1.ebuild,v 1.2 2007/07/14 22:18:04 mr_bones_ Exp $
inherit multilib flag-o-matic
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/${P}.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"
pkg_setup() {
append-ldflags -L${ROOT}usr/$(get_libdir)/pbs/lib
}
src_install() {
emake DESTDIR="${D}" install || die "install failed"
dodoc README || die "dodoc failed"
doman "${D}"/usr/share/lspbs.1 || die "doman failed"
rm -f "${D}"/usr/share/lspbs.1 || die "failed to remove old man page"
}