blob: a6751d17f51cdaeb644a3bee478832b1053512fe (
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
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
inherit java-pkg-2 java-ant-2
DESCRIPTION="Static Java source and byte code analyzer."
HOMEPAGE="http://www.jutils.com/"
SRC_URI="http://www.jutils.com/download/lint4j/lint4j-0.9.1.tar.gz"
LICENSE="lint4j"
SLOT="0"
KEYWORDS="~x86"
IUSE="examples"
RESTRICT="mirror"
DEPEND=">=virtual/jdk-1.4"
RDEPEND=">=virtual/jre-1.4"
S=${WORKDIR}/lint4j-${PV}
src_install() {
java-pkg_dojar jars/lint4j.jar
java-pkg_dolauncher lint4j
java-pkg_register-ant-task
dodoc README.txt doc/ACKNOWLEDGEMENTS.txt doc/CHANGELOG.txt
if use examples ; then
dodir /usr/share/doc/${PF}/examples
cp -r examples/* ${D}/usr/share/doc/${PF}/examples || die "Cannot install examples"
fi
}
|