diff options
author | Michael Imhof <tantive@gentoo.org> | 2003-06-03 12:56:17 +0000 |
---|---|---|
committer | Michael Imhof <tantive@gentoo.org> | 2003-06-03 12:56:17 +0000 |
commit | 179780239b844a259f580fbbe962f33e939b179c (patch) | |
tree | 470ee62f5a71c496820cce2a74edcee62d726cee /sys-cluster/openpbs | |
parent | Olivier Crete <tester@tester.ca> added support for crypt flag (diff) | |
download | historical-179780239b844a259f580fbbe962f33e939b179c.tar.gz historical-179780239b844a259f580fbbe962f33e939b179c.tar.bz2 historical-179780239b844a259f580fbbe962f33e939b179c.zip |
Olivier Crete <tester@tester.ca> added support for crypt flag
Diffstat (limited to 'sys-cluster/openpbs')
-rw-r--r-- | sys-cluster/openpbs/Manifest | 2 | ||||
-rw-r--r-- | sys-cluster/openpbs/files/digest-openpbs-2.3.16-r1 | 0 | ||||
-rw-r--r-- | sys-cluster/openpbs/openpbs-2.3.16-r1.ebuild | 80 |
3 files changed, 81 insertions, 1 deletions
diff --git a/sys-cluster/openpbs/Manifest b/sys-cluster/openpbs/Manifest index 50acdf5e6dc4..ca19cfce1ffa 100644 --- a/sys-cluster/openpbs/Manifest +++ b/sys-cluster/openpbs/Manifest @@ -1,4 +1,4 @@ -MD5 006a6e08fdf1ab0cd0dff78ae75157a6 openpbs-2.3.16-r1.ebuild 2375 +MD5 1fbe24c549c3ed35b0a7f5ad55e7bc92 openpbs-2.3.16-r1.ebuild 2379 MD5 d3e29a2322689c4fed15425d6fb7067f openpbs-2.3.16.ebuild 2286 MD5 8cbbfa8e697606284486a26abe40f17f ChangeLog 1055 MD5 49fb3f2f647a254c00afde279a3bd724 files/digest-openpbs-2.3.16 67 diff --git a/sys-cluster/openpbs/files/digest-openpbs-2.3.16-r1 b/sys-cluster/openpbs/files/digest-openpbs-2.3.16-r1 new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/sys-cluster/openpbs/files/digest-openpbs-2.3.16-r1 diff --git a/sys-cluster/openpbs/openpbs-2.3.16-r1.ebuild b/sys-cluster/openpbs/openpbs-2.3.16-r1.ebuild new file mode 100644 index 000000000000..360e7f4a5742 --- /dev/null +++ b/sys-cluster/openpbs/openpbs-2.3.16-r1.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openpbs/openpbs-2.3.16-r1.ebuild,v 1.1 2003/06/03 12:56:02 tantive Exp $ + +NAME=`echo ${P} | sed -e "s|openpbs-|OpenPBS_|; y|.|_|"` +A=${NAME}.tar.gz +S="${WORKDIR}/${NAME}" + +DESCRIPTION="The Portable Batch System (PBS) is a flexible batch queueing and workload management system" +HOMEPAGE="http://www.openpbs.org/" +LICENSE="openpbs" + +SLOT="0" +KEYWORDS="x86" +IUSE="X tcltk crypt doc" + +DEPEND="virtual/glibc + X? ( x11-base/xfree ) + tcltk? ( dev-lang/tcl )" +RDEPEND="${DEPEND} crypt? ( net-misc/openssh )" + + +src_unpack() { + if [ ! -e ${DISTDIR}/${A} ] ; then + einfo "Due to license issues you have to download" + einfo "the appropriate openpbs archive:" + einfo "http://www.openpbs.org/UserArea/Download/"${A} + einfo "" + einfo "The archive should be placed into ${DISTDIR}." + + die "package archive not found" + fi + + cd ${WORKDIR} + unpack ${A} + cd ${S} + # apply a patch I made for gcc3. + # maybe this should be done with sed but I'm too lazy + patch -p0 < ${FILESDIR}/makedepend-sh-gcc3.patch + + # this thing doesn't use make install, but rather it's own install script + # fix it here so the install dirs are set to the ${D} directory + cd buildutils + mv pbs_mkdirs.in pbs_mkdirs.in-orig + sed -e "s|prefix=@prefix@|prefix=\${D}@prefix@| ; \ + s|PBS_SERVER_HOME=@PBS_SERVER_HOME@|PBS_SERVER_HOME=\${D}@PBS_SERVER_HOME@| ; \ + s|PBS_DEFAULT_FILE=@PBS_DEFAULT_FILE@|PBS_DEFAULT_FILE=\${D}@PBS_DEFAULT_FILE@| ; \ + s|PBS_ENVIRON=@PBS_ENVIRON@|PBS_ENVIRON=\${D}@PBS_ENVIRON@|" \ + pbs_mkdirs.in-orig > pbs_mkdirs.in +} + +src_compile() { + local myconf + use X || myconf="--disable-gui" + use tcltk && myconf="${myconf} --with-tcl" + + use crypt && myconf="${myconf} --with-scp" + use doc && myconf="${myconf} --enable-docs" + + ./configure ${myconf} \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --enable-server \ + --enable-clients \ + --set-server-home=/var/spool/PBS \ + --set-environ=/etc/pbs_environment \ + --enable-mom || die "./configure failed" + + make || die +} + +src_install() { + + make prefix=${D}/usr \ + mandir=${D}/usr/share/man \ + PBS_SERVER_HOME=${D}/var/spool/PBS \ + install || die + + dodoc INSTALL PBS_License.text Read.Me Release_Notes +} |