| Summary: | New sun-java3d-bin ebuild | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | James Le Cuirot <chewi> |
| Component: | New packages | Assignee: | Java team <java> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | m.debruijne |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | All | ||
| URL: | https://j3d-core.dev.java.net/servlets/ProjectDocumentList?folderID=2219&expandFolder=2219&folderID=1524 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
New ebuild for sun-java3d-bin
This ebuild seems to work for the latest sun offering. |
||
|
Description
James Le Cuirot
2004-12-04 10:36:22 UTC
Created attachment 45280 [details]
New ebuild for sun-java3d-bin
Oh yeah, the name of the file is supposed to be sun-java3d-bin-1.3.2_pre8.ebuild. I thing pre would be the right suffix to use in this case since these are experimental builds. Created attachment 54192 [details]
This ebuild seems to work for the latest sun offering.
Sun have changed things around a little. This ebuild works for me, after
obtaining the zip file.
Hello, I addapted the ebuil to work whit the new beta3 zip file. I also ajusted the download url. Mabey this wil help. Mivz (H. Hoogeveen) mivz@spugium.net # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-java/sun-java3d-bin/sun-java3d-bin-1.32-r1.ebuild,v 1.2 2004/07/31 16:29:47 axxo Exp $ inherit java-pkg MY_P="java3d-1_3_2-beta3-linux-i586" DESCRIPTION="Sun Java3D" HOMEPAGE="https://j3d-core.dev.java.net/" SRC_URI="http://javadesktop.org/java3d/builds/stable/1_3_2-beta3/${MY_P}.zip" KEYWORDS="~x86 -*" SLOT="0" LICENSE="sun-jrl sun-jdl" IUSE="" DEPEND="" RDEPEND=">=virtual/jdk-1.3" RESTRICT="nomirror" S=${WORKDIR}/${MY_P} pkg_nofetch() { einfo "Please download ${SRC_URI} from ${HOMEPAGE} and place it in ${DISTDIR}" } src_unpack() { jar xf ${DISTDIR}/${A} cd ${S} MY_P2=$(echo ${MY_P} | sed "s/java3d/j3d/g" | sed "s/_//g" | sed "s/i[0-9]86/x86/g") jar xf ${MY_P2}.zip } src_compile() { :; } src_install() { dodoc COPYRIGHT.txt README.txt java-pkg_dojar lib/ext/*.jar java-pkg_doso lib/i386/*.so } pkg_postinst() { einfo "This ebuild now installs into /opt/${PN} and /usr/share/${PN}" einfo 'To use you need to pass the following to java' einfo '-Djava.library.path=$(java-config -i sun-java3d-bin) -cp $(java-config -p sun-java3d-bin)' } version bumped, thanks for reporting |