adec45c2ab
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1201 6952d904-891a-0410-993b-d76249ca496b
37 lines
728 B
Bash
37 lines
728 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"
|
|
|
|
inherit java-pkg-2 java-ant-2
|
|
|
|
DESCRIPTION="JPedal JBIG2 Image Decoder"
|
|
HOMEPAGE="http://idrsolutions.fogbugzhosting.com/default.asp?W80"
|
|
SRC_URI="http://www.jpedal.org/download/jbig2_src.zip -> jbig2_src-${PV}.zip"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
RDEPEND=">=virtual/jre-1.5"
|
|
DEPEND=">=virtual/jdk-1.5
|
|
app-arch/unzip"
|
|
|
|
S="${WORKDIR}"
|
|
|
|
src_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
|
|
}
|