Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 201264 Details for
Bug 51149
sys-cluster/globus (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
seperate ebuild for the gpt build tools
globus-build-4.2.1.ebuild (text/plain), 2.49 KB, created by
John (EBo) David
on 2009-08-14 18:32:37 UTC
(
hide
)
Description:
seperate ebuild for the gpt build tools
Filename:
MIME Type:
Creator:
John (EBo) David
Created:
2009-08-14 18:32:37 UTC
Size:
2.49 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI="2" > ># The globus-build tools do not require java to be installed, BUT ># configure still expects it... >inherit eutils java-pkg-2 java-utils-2 java-ant-2 > >MY_P="gt${PV}-all-source-installer" > >DESCRIPTION="The Globus Toolkit Build Tools" >HOMEPAGE="http://www.globus.org/toolkit/" > >SRC_URI="http://www-unix.globus.org/ftppub/gt${PV:0:1}/${PV}/installers/src/${MY_P}.tar.bz2" > >LICENSE="GTPL" > >SLOT="4" >KEYWORDS="~x86" > >IUSE="condor iodbc lsf odbc pbs" > >RDEPEND=" > dev-java/ant > sys-libs/zlib > dev-lang/perl > app-admin/sudo > dev-libs/openssl > dev-db/postgresql > dev-perl/XML-Parser > virtual/mpi > iodbc? ( dev-db/libiodbc ) > odbc? ( !iodbc? ( dev-db/unixODBC ) )" > >DEPEND=">=virtual/jdk-1.5 > ${RDEPEND}" > >S="${WORKDIR}/${MY_P}" > >GLOBUS="/opt/globus${PV:0:1}" > >pkg_setup() { > enewgroup globus > enewuser globus -1 -1 /var/globus globus >} > >src_prepare() { > mkdir "${S}"/build || die "making build directory failed" > > java-pkg-2_src_prepare > > sed -e "s|%%GLOBUS%%|${GLOBUS}|" \ > "${FILESDIR}"/21globus-build > "${T}"/21globus-build \ > || die "sed envfile failed" >} > >src_configure() { > local myconfig > > # should we use odbc with iodbc or unixodbc > if use iodbc ; then > myconfig="--with-iodbc-libs=$(iodbc-config --prefix)/lib" > myconfig="${myconfig} --with-iodbc-includes=$(iodbc-config --prefix)/include/iodbc" > elif use odbc ; then > myconfig="--with-unixodbc-libs=/usr/lib" > myconfig="${myconfig} --with-unixodbc-includes=/usr/include/unixodbc" > fi > > econf --prefix="${S}/build/${GLOBUS}" \ > --with-gptlocation="${S}/build/${GLOBUS}" \ > $(use_enable condor wsgram-condor) \ > $(use_enable lsf wsgram-lsf) \ > $(use_enable pbs wsgram-pbs) ${myconfig} >} > >src_compile() { > emake gpt || die "compile failed" >} > >src_install() { > einfo "Hand installing..." > # The supplied Makefile install violates standard practices. The > # following simulates a "make DESTDIR=${D}" and moves the built > # programs/files into ${D} > mv "${S}"/build/* "${D}/" || die "mv failed" > > doenvd "${T}"/21globus-build || die "install env.d/globus-build died" > > einfo "Updating ownership and permissions..." > fowners -R globus:globus * || die "fowners failed" >} > >pkg_postrm() { > if [ -z has_version ]; then > ewarn "Globus builds and installs files into ${GLOBUS}" > ewarn "after package installation. After uninstalling" > ewarn "you may want to manually remove all or part of the Globus" > ewarn "installation directory ${GLOBUS}." > fi >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 51149
:
31574
|
39720
|
49555
|
49556
|
50063
|
50119
|
87442
|
88631
|
89164
|
100185
|
100186
|
152713
|
153037
|
153039
|
201255
|
201256
|
201257
|
201258
|
201260
|
201262
| 201264 |
201266
|
201267