diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2004-06-03 18:29:22 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2004-06-03 18:29:22 +0000 |
commit | 73260d21eace346ee3b3deab39e29634464e191b (patch) | |
tree | 9f033c1f078080c4c33813df9680921ab142c380 /dev-java | |
parent | Minor fixaroo. (diff) | |
download | historical-73260d21eace346ee3b3deab39e29634464e191b.tar.gz historical-73260d21eace346ee3b3deab39e29634464e191b.tar.bz2 historical-73260d21eace346ee3b3deab39e29634464e191b.zip |
Removed old ebuilds that depended on the moved sun-jre
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/jai/ChangeLog | 5 | ||||
-rw-r--r-- | dev-java/jai/files/digest-jai-1.1.2 | 1 | ||||
-rw-r--r-- | dev-java/jai/files/digest-jai-1.1.2-r1 | 1 | ||||
-rw-r--r-- | dev-java/jai/jai-1.1.2-r1.ebuild | 44 | ||||
-rw-r--r-- | dev-java/jai/jai-1.1.2.ebuild | 90 |
5 files changed, 4 insertions, 137 deletions
diff --git a/dev-java/jai/ChangeLog b/dev-java/jai/ChangeLog index 9bac9ad76d6c..3f86e8dd0d1b 100644 --- a/dev-java/jai/ChangeLog +++ b/dev-java/jai/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-java/jai # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jai/ChangeLog,v 1.3 2004/03/19 21:22:18 lostlogic Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jai/ChangeLog,v 1.4 2004/06/03 18:29:22 karltk Exp $ + + 03 Jun 2004; Karl Trygve Kalleberg <karltk@gentoo.org> jai-1.1.2.ebuild, + jar-1.1.2-r1.ebuild: Removed. *jai-1.1.2-r2 (19 Mar 2004) diff --git a/dev-java/jai/files/digest-jai-1.1.2 b/dev-java/jai/files/digest-jai-1.1.2 deleted file mode 100644 index 36646eea3bad..000000000000 --- a/dev-java/jai/files/digest-jai-1.1.2 +++ /dev/null @@ -1 +0,0 @@ -MD5 16f19a3853194f9422fc79819be00ed0 jai-1_1_2-lib-linux-i586-jdk.bin 2674372 diff --git a/dev-java/jai/files/digest-jai-1.1.2-r1 b/dev-java/jai/files/digest-jai-1.1.2-r1 deleted file mode 100644 index 36646eea3bad..000000000000 --- a/dev-java/jai/files/digest-jai-1.1.2-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 16f19a3853194f9422fc79819be00ed0 jai-1_1_2-lib-linux-i586-jdk.bin 2674372 diff --git a/dev-java/jai/jai-1.1.2-r1.ebuild b/dev-java/jai/jai-1.1.2-r1.ebuild deleted file mode 100644 index d357262f9564..000000000000 --- a/dev-java/jai/jai-1.1.2-r1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jai/jai-1.1.2-r1.ebuild,v 1.1 2004/03/06 21:03:50 zx Exp $ - -DESCRIPTION="JAI is a class library for managing images." -HOMEPAGE="http://java.sun.com/products/java-media/jai/" -SRC_URI="jai-1_1_2-lib-linux-i586-jdk.bin" -LICENSE="sun-bcla-jai" -SLOT="0" -KEYWORDS="~x86 ~sparc ~alpha" -DEPEND="" -RDEPEND=">=virtual/jdk-1.3" -IUSE="" -RESTRICT="fetch" -S="${WORKDIR}" - -pkg_nofetch() { - einfo "Please download ${SRC_URI} from ${HOMEPAGE} and place it in ${DISTDIR}" -} - -src_unpack() { - #Search for the ELF Header - testExp=`echo -e "\177\105\114\106\001\001\001"` - startAt=`grep -aonm 1 ${testExp} ${DISTDIR}/${SRC_URI} | cut -d: -f1` - tail -n +${startAt} ${DISTDIR}/${SRC_URI} > install.sfx - chmod +x install.sfx - ./install.sfx || die - rm install.sfx -} - -src_install() { - einfo "Installing JAI into current JDK home: `java-config --jdk-home`" - start=${D} - for e in `java-config --jdk-home | tr '/' ' '`; do - start="$start/$e" - mkdir $start - done - - cd $start - - cp -a ${S}/jre/* . - cd ${S} - dodoc COPYRIGHT-jai.txt README-jai.txt -} diff --git a/dev-java/jai/jai-1.1.2.ebuild b/dev-java/jai/jai-1.1.2.ebuild deleted file mode 100644 index 4c469c550a65..000000000000 --- a/dev-java/jai/jai-1.1.2.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jai/jai-1.1.2.ebuild,v 1.3 2004/03/06 21:03:50 zx Exp $ - -IUSE="" - -At="jai-1_1_2-lib-linux-i586-jdk.bin" -S="${WORKDIR}/jai-1_2_2-lib-linux" -DESCRIPTION="Sun's Java(TM) Advanced Imaging API" -HOMEPAGE="http://java.sun.com/products/java-media/jai/index.jsp" -SRC_URI=${At} -SLOT="0" -LICENSE="sun-bcla-jai" -KEYWORDS="~x86 -ppc -sparc -alpha -mips -hppa" -RESTRICT="fetch" - -DEPEND="|| ( >=dev-java/sun-jdk-1.4 >=dev-java/sun-jre-1.4 ) - sys-apps/sed" - -RDEPEND="${DEPEND}" - -pkg_nofetch() { - einfo "Please download ${At} from:" - einfo ${HOMEPAGE} - einfo "(from the JDK section select the Linux JDK Install option)" - einfo "and move it to ${DISTDIR}" -} - -src_unpack() { - if [ ! -r ${DISTDIR}/${At} ]; then - eerror "cannot read ${At}. Please check the permission and try again." - die - fi - mkdir -p ${S} - cd ${S} - #Search for the ELF Header - testExp=`echo -e "\177\105\114\106\001\001\001"` - startAt=`grep -aonm 1 ${testExp} ${DISTDIR}/${At} | cut -d: -f1` - tail -n +${startAt} ${DISTDIR}/${At} > install.sfx - chmod +x install.sfx - ./install.sfx || die - rm install.sfx - -# if [ -f ${S}/lib/unpack ]; then -# UNPACK_CMD=${S}/lib/unpack -# chmod +x $UNPACK_CMD -# for i in $PACKED_JARS; do -# PACK_FILE=${S}/`dirname $i`/`basename $i .jar`.pack -# if [ -f ${PACK_FILE} ]; then -# echo " unpacking: $i" -# $UNPACK_CMD ${PACK_FILE} ${S}/$i -# rm -f ${PACK_FILE} -# fi -# done -# fi -} - -find_home() { - HOME=$(java-config --jre-home) - if [ ! -d "${HOME}" ]; then - HOME=$(java-config --jdk-home)/jre - fi - if [ "${HOME/sun}" == "${HOME}" ]; then - HOME=/opt/$(java-config --list-available-vms|grep sun|head -n1|cut -f2 -d"["|cut -f1 -d"]") - if [ "${HOME/jre}" == "${HOME}" ]; then - HOME="${HOME}/jre" - fi - fi - if [ ! -d "${HOME}" ]; then - die "Unable to locate an appropriate location to install JAI" - fi -} - -src_install () { - find_home - dodir ${HOME} - cp -a ${S}/jre/* ${D}/${HOME} - dodoc COPYRIGHT-jai.txt README-jai.txt LICENSE-jai.txt INSTALL-jai.txt UNINSTALL-jai -} - -pkg_postinst() { - find_home - einfo - einfo "Installed jai into ${HOME}" - einfo "This was the 'best selection' I could make for which" - einfo "JVM to install JAI for, if this is not what you want" - einfo "please use java-config to select the JVM of your choice" - einfo "and remerge JAI after updating your environmnet" - einfo -} |