Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 45328 Details for
Bug 63834
ebuild for sun-j2me (new package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sun-j2me-2.2.ebuild
sun-j2me-2.2.ebuild (text/plain), 1.46 KB, created by
Boris
on 2004-12-05 09:05:16 UTC
(
hide
)
Description:
sun-j2me-2.2.ebuild
Filename:
MIME Type:
Creator:
Boris
Created:
2004-12-05 09:05:16 UTC
Size:
1.46 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >DESCRIPTION="Java 2 Micro Edition Wireless Toolkit for developing wireless applications" >HOMEPAGE="http://java.sun.com/products/j2mewtoolkit/" >SRC_URI="j2me_wireless_toolkit-${PV//./_}-linux-i386.bin" >LICENSE="sun-bcla-j2me" >SLOT="0" >KEYWORDS="~x86" >IUSE="" >RESTRICT="fetch" >DEPEND=">=dev-java/sun-jdk-1.4.2" >RDEPEND=">=dev-java/java-config-1.1.7" >S=${WORKDIR} > >MY_FILE=${DISTDIR}/${A} > >pkg_nofetch() { > einfo "Please download ${A} from:" > einfo "http://java.sun.com/developer/releases/j2mewtoolkit/" > einfo "and move it to ${DISTDIR}" >} > >src_unpack() { > if [ ! -r ${MY_FILE} ]; then > eerror "cannot read ${A}. Please check the permission and try again." > die > fi > #extract compressed data and unpack > dd bs=2048 if=${MY_FILE} of=install.zip skip=10 2>/dev/null || die > ( jar xf install.zip >/dev/null && rm install.zip ) || die > > #Set the java-bin-path in some scripts > for file in ktoolbar emulator mekeytool prefs utils wscompile defaultdevice > do > sed ${WORKDIR}/bin/${file} --in-place --expression \ > "s@pathtowtk=\$@pathtowtk=\`java-config --jdk-home\`\"/bin/\"@" ||die > done >} > >src_install() { > cd ${WORKDIR} > dohtml -r *.html docs > exeinto /opt/${P}/bin > doexe bin/* > fperms -x /opt/${P}/bin/*jar > insinto /opt/${P} > cp -r appdb apps lib sessions wtklib ${D}/opt/${P}/ >} > >pkg_postinst() { > einfo "In order to use this software run /opt/${P}/bin/ktoolbar" >}
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 63834
:
39465
|
39466
|
45328
|
45329
|
65460
|
65461
|
65462
|
65477