Package-Manager: portage-2.2.8-r1
RepoMan-Options: --force
This commit is contained in:
Mario Fetka
2014-06-23 11:31:08 +02:00
parent 1eb97e7f62
commit 4743a0118a
3 changed files with 13 additions and 8 deletions

View File

@@ -0,0 +1,36 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
JAVA_PKG_IUSE="source doc"
inherit java-pkg-2 java-ant-2
DESCRIPTION="JPedal JBIG2 Image Decoder"
HOMEPAGE="http://sourceforge.net/projects/jpedaljbig2imag/"
SRC_URI="http://sourceforge.net/projects/jpedaljbig2imag/files/JPedal%20JBIG2%20Image%20Decoder/${PV}/jbig2_src_${PV}.zip"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=virtual/jre-1.6"
DEPEND=">=virtual/jdk-1.6
app-arch/unzip"
S="${WORKDIR}"
java_prepare() {
cp "${FILESDIR}"/build.* "${S}" || die
}
src_install() {
java-pkg_dojar build/jbig2/dist/jbig2.jar
use source && java-pkg_dosrc src/*
use doc && java-pkg_dojavadoc build/jbig2/javadoc
}