summaryrefslogtreecommitdiff
blob: c1f46d7b7fb07cfa38fcfdc6410757ada8ce3915 (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
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/libreadline-java/libreadline-java-0.8.0.ebuild,v 1.3 2004/04/20 15:55:55 mholzer Exp $

inherit java-pkg

DESCRIPTION="A JNI-wrapper to GNU Readline."
SRC_URI="mirror://sourceforge/java-readline/${P}-src.tar.gz"
HOMEPAGE="http://java-readline.sourceforge.net/"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~x86 ~sparc"
IUSE="doc"

DEPEND=">=virtual/jdk-1.4
		>=sys-libs/libtermcap-compat-1.2.3-r1"

src_compile() {
	make
	use doc && make apidoc
}

src_install() {
	dolib.so *.so
	dojar *.jar
	use doc && dohtml -r api/*
	dodoc  ChangeLog NEWS README README.1st TODO
}