blob: b4b07b71b38c8ca6145073a8ed7331b81f606ae4 (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/jreleaseinfo/jreleaseinfo-1.3.0-r1.ebuild,v 1.2 2009/02/01 02:19:55 mr_bones_ Exp $
EAPI=2
inherit java-pkg-2 java-ant-2
DESCRIPTION="Ant Task for build-time creation of Java source file with program version, build number or any other info"
HOMEPAGE="http://${PN}.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="source"
DEPEND=">=virtual/jdk-1.4
app-arch/unzip
dev-java/ant-core:0
source? ( app-arch/zip )"
RDEPEND=">=virtual/jre-1.4
dev-java/ant-core:0"
EANT_GENTOO_CLASSPATH="ant-core"
src_prepare() {
java-pkg-2_src_prepare
java-ant_rewrite-classpath build.xml
}
src_install() {
java-pkg_newjar "target/${P}.jar"
dodoc LICENSE.txt || die
use source && java-pkg_dosrc src/java/ch
}
|