summaryrefslogtreecommitdiff
blob: 551619adbc5647de8f9c7438f060545d982a5491 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/regexp/regexp-1.2.ebuild,v 1.4 2003/04/26 05:36:58 strider Exp $

S=${WORKDIR}/${PN}-${PV}
DESCRIPTION="100% Pure Java Regular Expression package"
SRC_URI="mirror://apache/jakarta/regexp/source/${PN}-${PV}.tar.gz"
HOMEPAGE="http://jakarta.apache.org/"

SLOT="1"
LICENSE="Apache-1.1"
KEYWORDS="x86"

DEPEND=">=virtual/jdk-1.3"

src_compile() {
	cd build
	sh build-regexp.sh || die
}

src_install() {
	mv bin/jakarta-regexp-${PV}.jar bin/regexp-${PV}.jar
	dojar bin/regexp-${PV}.jar
	dohtml -r docs/*
}