blob: 7372a76b23fcd5684774928012725f393f4e49ce (
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
34
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/jinklevel/jinklevel-0.1.ebuild,v 1.4 2010/08/01 20:24:02 phajdan.jr Exp $
EAPI="2"
JAVA_PKG_IUSE="doc source"
inherit eutils java-pkg-2 java-ant-2
DESCRIPTION="Java binding for libinklevel"
HOMEPAGE="http://mso.googlecode.com/"
SRC_URI="http://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"
}
|