summaryrefslogtreecommitdiff
blob: 1f0082f6bb8fd9b0894a9fdd2a70e529a1e3f5d8 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-regexp/gnu-regexp-1.1.4.ebuild,v 1.7 2004/07/14 01:58:52 agriffis Exp $

DESCRIPTION="GNU regular expression package for Java"
HOMEPAGE="http://www.cacas.org/java/gnu/regexp/"
SRC_URI="ftp://ftp.tralfamadore.com/pub/java/gnu.regexp-${PV}.tar.gz"
MY_P=gnu.regexp-${PV}
S=${WORKDIR}/${MY_P}
LICENSE="LGPL-2.1"
SLOT="1"
DEPEND=">=virtual/jdk-1.2"
KEYWORDS="x86 ~ppc"
IUSE=""

src_unpack() {
	unpack ${MY_P}.tar.gz
}

src_compile() {
	patch src/Makefile ${FILESDIR}/${PV}/Makefile.diff
	cd src
	make
}

src_install () {
	dojar lib/gnu-regexp-${PV}.jar
	dodoc COPYING.LIB README TODO
	dohtml docs/* -r
}