blob: 9577e7717206d3afada3b1305b0e2d03ce437e52 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit java-pkg-2 java-ant-2
EAPI=2
DESCRIPTION="pant"
HOMEPAGE="http://blog.codeaholics.org/parallel-ant/"
SRC_URI="https://github.com/codeaholics/parallel-ant/tarball/0.9-beta -> ${P}.tar.gz"
LICENSE="Apache"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
COMMON_DEP="dev-java/ant"
RDEPEND=">=virtual/jre-1.5
${COMMON_DEP}"
DEPEND=">=virtual/jdk-1.5
${COMMON_DEP}"
#java_prepare() {
# JAVA_ANT_CLASSPATH_TAGS="javac java" java-ant_rewrite-classpath
#}
EANT_GENTOO_CLASSPATH="ant-core"
src_configure() {
mv codeaholics-${PN}-0a67d42 ${P}
cd ${P}
}
src_compile() {
JAVA_ANT_CLASSPATH_TAGS="javac java" java-ant_rewrite-classpath
eant || die
}
src_install() {
java-pkg_dojar build/${P}-beta.jar
insinto /usr/share/${PN}
# doins "${FILESDIR}/${PN}-${SLOT}"
}
|