summaryrefslogtreecommitdiff
blob: e0fcecceb160c31c68f888a72ff26cacb808e128 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="2"

JAVA_PKG_IUSE="doc source"

inherit eutils java-pkg-2 java-ant-2

DESCRIPTION="Java binding for libinklevel"
HOMEPAGE="https://mso.googlecode.com/"
SRC_URI="https://mso.googlecode.com/files/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""

RDEPEND=">=virtual/jre-1.5
	>=net-print/libinklevel-0.8.0"

DEPEND=">=virtual/jdk-1.5
	>=net-print/libinklevel-0.8.0"

EANT_BUILD_TARGET="build"

src_install() {
	use source && java-pkg_dosrc src
	use doc && java-pkg_dojavadoc doc
	java-pkg_dojar build/${PN}.jar
	java-pkg_doso build/libjinklevel.so
	domo build/mo/*.mo || die "domo failed"
}