2009-04-20 23:21:33 +02:00
|
|
|
# Copyright 1999-2009 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
2009-05-05 00:22:43 +02:00
|
|
|
EAPI="2"
|
|
|
|
|
2009-05-05 00:24:27 +02:00
|
|
|
JAVA_PKG_IUSE="source doc"
|
2009-05-05 00:22:43 +02:00
|
|
|
JAVA_ANT_REWRITE_CLASSPATH="true"
|
|
|
|
EANT_GENTOO_CLASSPATH="sun-jai-imageio,sun-jai-bin,jbig2,swt-3.4,jPod,iscwt,isfreetype,isnativec,isrt,jna"
|
2009-04-20 23:21:33 +02:00
|
|
|
|
|
|
|
inherit java-pkg-2 java-ant-2
|
|
|
|
|
|
|
|
DESCRIPTION="This is the jPod based PDF platform & rendering library."
|
2009-04-27 23:03:10 +02:00
|
|
|
HOMEPAGE="http://opensource.intarsys.de/"
|
2009-04-20 23:21:33 +02:00
|
|
|
SRC_URI="mirror://sourceforge/jpodrenderer/jPodRenderer.${PV}.zip"
|
|
|
|
|
|
|
|
LICENSE="BSD"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
2009-05-05 00:24:27 +02:00
|
|
|
IUSE=""
|
2009-04-20 23:21:33 +02:00
|
|
|
|
2009-05-05 00:22:43 +02:00
|
|
|
COMMON_DEP="dev-java/sun-jai-imageio:0
|
|
|
|
dev-java/sun-jai-bin:0
|
|
|
|
dev-java/jbig2:0
|
|
|
|
dev-java/jna:0
|
2009-04-20 23:21:33 +02:00
|
|
|
dev-java/swt:3.4
|
2009-05-05 00:22:43 +02:00
|
|
|
dev-java/isrt:0
|
|
|
|
dev-java/isnativec:0
|
|
|
|
dev-java/isfreetype:0
|
|
|
|
dev-java/iscwt:0
|
|
|
|
dev-java/jPod:0"
|
2009-04-20 23:21:33 +02:00
|
|
|
RDEPEND=">=virtual/jre-1.5
|
|
|
|
${COMMON_DEP}"
|
|
|
|
DEPEND=">=virtual/jdk-1.5
|
|
|
|
${COMMON_DEP}
|
|
|
|
app-arch/unzip"
|
|
|
|
|
|
|
|
S="${WORKDIR}"/distribution
|
|
|
|
|
2009-05-05 00:22:43 +02:00
|
|
|
src_prepare() {
|
|
|
|
cp "${FILESDIR}"/build.* "${S}" || die
|
2009-04-20 23:21:33 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
java-pkg_dojar build/jPodRenderer/dist/jPodRenderer.jar
|
2009-04-27 23:03:10 +02:00
|
|
|
java-pkg_dojar lib/jPodFonts.jar
|
2009-04-20 23:21:33 +02:00
|
|
|
|
|
|
|
use source && java-pkg_dosrc src/*
|
|
|
|
|
|
|
|
use doc && java-pkg_dojavadoc build/jPodRenderer/javadoc
|
|
|
|
}
|