/[gentoo-x86]/dev-java/gnu-regexp/gnu-regexp-1.1.4-r2.ebuild
Gentoo

Contents of /dev-java/gnu-regexp/gnu-regexp-1.1.4-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.16 - (show annotations) (download)
Sat Jul 11 09:21:22 2015 UTC (3 years, 11 months ago) by chewi
Branch: MAIN
CVS Tags: HEAD
Changes since 1.15: +3 -3 lines
Drop java on ia64.

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 9C6D7DE4)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-regexp/gnu-regexp-1.1.4-r2.ebuild,v 1.15 2013/06/14 19:24:49 aballier Exp $
4
5 inherit java-pkg-2 eutils
6
7 MY_P=gnu.regexp-${PV}
8 DESCRIPTION="GNU regular expression package for Java"
9 HOMEPAGE="http://www.cacas.org/java/gnu/regexp/"
10 SRC_URI="ftp://ftp.tralfamadore.com/pub/java/${MY_P}.tar.gz"
11
12 LICENSE="LGPL-2.1"
13 SLOT="1"
14 KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
15 IUSE="doc source"
16
17 DEPEND=">=virtual/jdk-1.4
18 source? ( app-arch/zip )"
19 RDEPEND=">=virtual/jre-1.4"
20
21 S="${WORKDIR}/${MY_P}"
22
23 src_unpack() {
24 unpack ${A}
25 cd "${S}"
26
27 rm lib/*.jar
28 rm -rf docs/api
29 }
30
31 src_compile() {
32 cd "${S}/src"
33 emake -j1 JAVAC="${JAVAC}" JAVAFLAGS="${JAVACFLAGS}" || die "emake failed"
34 use doc && emake javadocs
35 }
36
37 src_install() {
38 java-pkg_newjar lib/gnu-regexp-${PV}.jar ${PN}.jar
39 dodoc README TODO
40 use doc && java-pkg_dohtml -r docs/*
41 use source && java-pkg_dosrc src/gnu
42 }

  ViewVC Help
Powered by ViewVC 1.1.20