--- /dev/null
+# ChangeLog for dev-java/sun-jai-bin
+# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jai-bin/ChangeLog,v 1.1 2004/12/23 11:56:50 karltk Exp $
+
+*sun-jai-bin-1.1.2.01 (23 Dec 2004)
+
+ 23 Dec 2004; Karl Trygve Kalleberg <karltk@gentoo.org> +metadata.xml,
+ +sun-jai-bin-1.1.2.01.ebuild:
+ Moved from dev-java/jai-bin
+
+ 17 Oct 2004; Thomas Matthijs <axxo@gentoo.org> jai-bin-1.1.2.01.ebuild:
+ keyword ~ppc
+
+*jai-bin-1.1.2.01 (17 Oct 2004)
+
+ 17 Oct 2004; Thomas Matthijs <axxo@gentoo.org> jai-bin-1.1.2-r3.ebuild,
+ +jai-bin-1.1.2.01.ebuild:
+ version bump, only install *.so on x86
+
+ 17 Oct 2004; Bryan Østergaard,,, <kloeri@gentoo.org>
+ jai-bin-1.1.2-r2.ebuild, jai-bin-1.1.2-r3.ebuild:
+ Remove alpha keywords.
+
+*jai-bin-1.1.2-r2 (17 Oct 2004)
+
+ 17 Oct 2004; Thomas Matthijs <axxo@gentoo.org> jai-bin-1.1.2-r2.ebuild,
+ jai-bin-1.1.2-r3.ebuild:
+ keyword x86
+
+ 05 Sep 2004; Sven Wegener <swegener@gentoo.org> :
+ Fixed ChangeLog header.
+
+*jai-bin-1.1.2-r3 (31 Jul 2004)
+
+ 31 Jul 2004; Thomas Matthijs <axxo@gentoo.org> +jai-bin-1.1.2-r3.ebuild:
+ don't install in jdk dir anymore
+
+ 30 Jul 2004; Thomas Matthijs <axxo@gentoo.org> :
+ move dev-java/jai dev-java/jai-bin
+
+ 03 Jun 2004; Karl Trygve Kalleberg <karltk@gentoo.org> jai-1.1.2.ebuild,
+ jar-1.1.2-r1.ebuild: Removed. Fixed #52525.
+
+*jai-1.1.2-r2 (19 Mar 2004)
+
+ 19 Mar 2004; Brandon Low <lostlogic@gentoo.org> jai-1.1.2-r2.ebuild:
+ Fix the mess created in -r1, now installs to the correct part of the selected
+ JRE or JDK home
+
+*jai-1.1.2-r1 (09 Mar 2004)
+
+ 09 Mar 2004; Chris Aniszczyk <zx@gentoo.org> jai-1.1.2-r1.ebuild,
+ jai-1.1.2.ebuild, metadata.xml:
+ Revised ebuild. JAI now installs into the JDK selected by java-config.
+ Closes #33297
+
+*jai-1.1.2 (18 Dec 2003)
+
+ 18 Dec 2003; Brandon Low <lostlogic@gentoo.org> jai-1.1.2.ebuild:
+ Initial Import, this ebuild may be a little funky, but it works for now
+
--- /dev/null
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jai-bin/sun-jai-bin-1.1.2.01.ebuild,v 1.1 2004/12/23 11:56:50 karltk Exp $
+
+inherit java-pkg
+
+DESCRIPTION="JAI is a class library for managing images."
+HOMEPAGE="http://java.sun.com/products/java-media/jai/"
+SRC_URI="jai-${PV//./_}-lib-linux-i586.tar.gz"
+LICENSE="sun-bcla-jai"
+SLOT="0"
+KEYWORDS="x86 ~sparc ~ppc amd64"
+DEPEND="app-arch/unzip"
+RDEPEND=">=virtual/jdk-1.3"
+IUSE=""
+RESTRICT="fetch"
+
+S=${WORKDIR}/jai-${PV//./_}/
+
+pkg_nofetch() {
+ einfo "Please download ${SRC_URI} from ${HOMEPAGE} and place it in ${DISTDIR}"
+}
+
+src_compile() { :; }
+
+src_install() {
+ dodoc *.txt
+
+ cd lib
+ java-pkg_dojar *.jar
+ use x86 && java-pkg_doso *.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'
+ use x86 && einfo '-Djava.library.path=$(java-config -i jai-bin)'
+ einfo '-classpath $(java-config -p jai-bin)'
+}
+