linamh/dev-java/jPod/jPod-5.0.20081218.ebuild
2009-05-04 22:24:48 +00:00

44 lines
905 B
Bash

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
JAVA_PKG_IUSE="source doc"
JAVA_ANT_REWRITE_CLASSPATH="true"
EANT_GENTOO_CLASSPATH="jbig2,iscwt,isrt"
inherit java-pkg-2 java-ant-2
DESCRIPTION="A library for reading, writing and manipulating PDF files."
HOMEPAGE="http://opensource.intarsys.de/"
SRC_URI="mirror://sourceforge/jpodrenderer/jPod.${PV}.zip"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
COMMON_DEP="dev-java/isrt:0
dev-java/jbig2:0
dev-java/iscwt:0"
RDEPEND=">=virtual/jre-1.5
${COMMON_DEP}"
DEPEND=">=virtual/jdk-1.5
${COMMON_DEP}
app-arch/unzip"
S="${WORKDIR}"/distribution
src_prepare() {
cp "${FILESDIR}"/build.* "${S}" || die
}
src_install() {
java-pkg_dojar build/jPod/dist/jPod.jar
use source && java-pkg_dosrc src/*
use doc && java-pkg_dojavadoc build/jPod/javadoc
}