Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 8030 Details for
Bug 15302
IBM JDK 1.3.1 on PPC
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Modified ebuild to work with both PPC and x86.
ibm-jdk-1.3.1-r2.ebuild (text/plain), 1.75 KB, created by
Derek J. Strehlow
on 2003-02-07 22:38:43 UTC
(
hide
)
Description:
Modified ebuild to work with both PPC and x86.
Filename:
MIME Type:
Creator:
Derek J. Strehlow
Created:
2003-02-07 22:38:43 UTC
Size:
1.75 KB
patch
obsolete
># Copyright 1999-2002 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: /home/cvsroot/gentoo-x86/dev-java/ibm-jdk/ibm-jdk-1.3.1-r2.ebuild,v 1.4 2002/12/12 11:35:34 strider Exp $ > >IUSE="doc" > >inherit java nsplugins > >if [ `use ppc` ]; then > S=${WORKDIR}/IBMJava2-ppc-131 >else > S=${WORKDIR}/IBMJava2-131 >fi; >DESCRIPTION="IBM JDK 1.3.1" >SRC_UI="" > >if [ `use ppc` ]; then > SRC_JAVA="IBMJava2-SDK-131.ppc.tgz" >else > SRC_JAVA="IBMJava2-SDK-131.tgz" >fi; > >HOMEPAGE="https://www6.software.ibm.com/dl/lxdk/lxdk-p" > >DEPEND="virtual/glibc > >=dev-java/java-config-0.2.5 > doc? ( =dev-java/java-sdk-docs-1.3.1* )" >RDEPEND="$DEPEND" >PROVIDE="virtual/jre-1.3.1 > virtual/jdk-1.3.1 > virtual/java-scheme-2" >LICENSE="IBM-ILNWP" >SLOT="1.3" >KEYWORDS="x86 ppc -sparc " > >src_unpack() { > if [ ! -f ${DISTDIR}/${SRC_JAVA} ] ; then > die "Please download ${SRC_JAVA} from ${HOMEPAGE} to ${DISTDIR}" > einfo "Download 32-bit pSeries and iSeries for PPC." > einfo "Download 32-bit xSeries for x86." > fi > unpack ${SRC_JAVA} || die >} > > >src_install () { > > dodir /opt/${P} > for i in bin include jre lib ; do > cp -dpR $i ${D}/opt/${P}/ > done > > dodir /opt/${P}/share > for i in demo src.jar ; do > cp -dpR $i ${D}/opt/${P}/share/ > done > > dohtml -a html,htm,HTML -r docs > dodoc COPYRIGHT > > # Plugin is disabled as it crashes all the time > ## inst_plugin /opt/${P}/jre/bin/libjavaplugin_oji.so > > set_java_env ${FILESDIR}/${VMHANDLE} >} > >pkg_postinst() { > > einfo "*******************************************" > einfo "To set ${P} as the default JVM run" > einfo "java-config --set-system-vm=ibm-jdk-1.3.1" > einfo "Then run env-update and logout and back in." > einfo "*******************************************" >} > ># NOTE: We don't install the plugin, as it always segfaults.
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 15302
: 8030