2015-07-23 01:16:23 +02:00
|
|
|
# Copyright 1999-2015 Gentoo Foundation
|
2010-05-09 09:47:16 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
2011-11-19 11:52:05 +01:00
|
|
|
EAPI=4
|
2010-05-09 09:47:16 +02:00
|
|
|
|
|
|
|
JAVA_PKG_IUSE="source doc"
|
|
|
|
|
|
|
|
inherit java-pkg-2 java-ant-2
|
|
|
|
|
|
|
|
DESCRIPTION="JPedal JBIG2 Image Decoder"
|
2014-06-23 11:31:08 +02:00
|
|
|
HOMEPAGE="http://sourceforge.net/projects/jpedaljbig2imag/"
|
|
|
|
SRC_URI="http://sourceforge.net/projects/jpedaljbig2imag/files/JPedal%20JBIG2%20Image%20Decoder/${PV}/jbig2_src_${PV}.zip"
|
2010-05-09 09:47:16 +02:00
|
|
|
|
|
|
|
LICENSE="BSD"
|
|
|
|
SLOT="0"
|
2015-08-06 15:12:21 +02:00
|
|
|
KEYWORDS="~amd64 arm ~x86"
|
2010-05-09 09:47:16 +02:00
|
|
|
IUSE=""
|
|
|
|
|
2014-06-23 11:49:06 +02:00
|
|
|
RDEPEND=">=virtual/jre-1.7"
|
|
|
|
DEPEND=">=virtual/jdk-1.7
|
2010-05-09 09:47:16 +02:00
|
|
|
app-arch/unzip"
|
|
|
|
|
|
|
|
S="${WORKDIR}"
|
|
|
|
|
2011-11-19 11:52:05 +01:00
|
|
|
java_prepare() {
|
2010-05-09 09:47:16 +02:00
|
|
|
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
|
|
|
|
}
|