linamh/dev-java/jai-imageio/jai-imageio-1.1-r1.ebuild
geos_one 9f2a2c1429 bump
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2911 6952d904-891a-0410-993b-d76249ca496b
2011-06-08 15:26:24 +00:00

38 lines
968 B
Bash

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
JAVA_PKG_IUSE="source"
inherit java-pkg-2 java-ant-2 subversion
ESVN_REPO_URI="https://svn.java.net/svn/jai-imageio-core~svn/tags/jai-imageio-1_1-fcs"
DESCRIPTION="A library for managing images based on JAI"
HOMEPAGE="http://java.net/projects/jai-imageio-core/"
LICENSE="jai-imageio sun-bcla-jclib4jai"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
CDEPEND="dev-java/sun-jai-bin"
DEPEND="${CDEPEND}
>=virtual/jdk-1.4"
RDEPEND="${CDEPEND}
>=virtual/jre-1.4"
S="${WORKDIR}/${PN}-core"
JAVA_ANT_REWRITE_CLASSPATH="true"
EANT_GENTOO_CLASSPATH="sun-jai-bin"
EANT_GENTOO_CLASSPATH_EXTRA="src/share/jclib4jai/clibwrapper_jiio.jar"
src_install() {
dohtml www/index.html || die
use source && java-pkg_dosrc src/share/classes/*
cd build/*/opt/lib || die
java-pkg_dojar ext/clibwrapper_jiio.jar ext/jai_imageio.jar
java-pkg_doso */libclib_jiio.so
}