blob: b2a276f4d8bada3c19ee6d0f81b8c8e79014483f (
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
35
36
37
38
|
# Copyright 1999-2004 Gentoo Foundation
# 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-r1.ebuild,v 1.2 2004/09/11 21:41:04 axxo Exp $
inherit java-pkg eutils
DESCRIPTION="A JNI-wrapper to GNU Readline."
HOMEPAGE="http://java-readline.sourceforge.net/"
SRC_URI="mirror://sourceforge/java-readline/${P}-src.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~x86 ~sparc ~ppc ~amd64"
IUSE="doc"
DEPEND=">=virtual/jdk-1.4
sys-libs/ncurses"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/termcap-to-ncurses.patch
}
src_compile() {
make || die "failed to compile"
use doc && make apidoc
}
#bug 63102
src_test() { :; }
src_install() {
dolib.so *.so
dojar *.jar
use doc && dohtml -r api/*
dodoc ChangeLog NEWS README README.1st TODO
}
|