e68913c62f
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2778 6952d904-891a-0410-993b-d76249ca496b
47 lines
713 B
Bash
47 lines
713 B
Bash
# Copyright 1999-2008 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
EAPI=1
|
|
JAVA_PKG_IUSE="doc source"
|
|
|
|
inherit java-pkg-2 java-ant-2
|
|
|
|
DESCRIPTION="Java PDF Renderer"
|
|
HOMEPAGE="http://www.icepdf.org/"
|
|
SRC_URI="${PN}-${PV}-src.zip"
|
|
RESTRICT="fetch"
|
|
|
|
|
|
LICENSE="MPL-1.1"
|
|
SLOT="0"
|
|
KEYWORDS="~x86 ~amd64"
|
|
|
|
IUSE=""
|
|
|
|
COMMON_DEP="
|
|
"
|
|
|
|
RDEPEND=">=virtual/jre-1.4
|
|
${COMMON_DEP}"
|
|
DEPEND=">=virtual/jdk-1.4
|
|
app-arch/unzip
|
|
${COMMON_DEP}"
|
|
|
|
S=${WORKDIR}/${PN}-${PV}-src/icepdf
|
|
|
|
src_unpack() {
|
|
unpack ${A}
|
|
cd "${S}"
|
|
}
|
|
|
|
EANT_BUILD_TARGET="build.jars"
|
|
EANT_DOC_TARGET=""
|
|
|
|
src_install() {
|
|
die
|
|
java-pkg_dojar
|
|
use doc && java-pkg_dojavadoc
|
|
use source && java-pkg_dosrc
|
|
}
|