Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 430688
Collapse All | Expand All

(-)/var/portage/dev-java/jcommander/jcommander-1.29.ebuild (-2 / +12 lines)
Lines 1-6 Link Here
1
# Copyright 1999-2012 Gentoo Foundation
1
# Copyright 1999-2012 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/dev-java/jcommander/jcommander-1.29.ebuild,v 1.1 2012/08/10 23:32:31 flameeyes Exp $
3
# $Header:  $
4
4
5
EAPI=4
5
EAPI=4
6
6
Lines 13-19 Link Here
13
SRC_URI="https://github.com/${GITHUB_USER}/${PN}/tarball/${P} -> ${P}.tar.gz"
13
SRC_URI="https://github.com/${GITHUB_USER}/${PN}/tarball/${P} -> ${P}.tar.gz"
14
14
15
LICENSE="Apache-2.0"
15
LICENSE="Apache-2.0"
16
SLOT="0"
16
SLOT="1.13"
17
KEYWORDS="~amd64"
17
KEYWORDS="~amd64"
18
IUSE=""
18
IUSE=""
19
19
Lines 37-42 Link Here
37
	rm "${P}"/pom.xml || die
37
	rm "${P}"/pom.xml || die
38
}
38
}
39
39
40
src_compile() {
41
	mkdir classes
42
	find src/main/java/com -name "*.java" > "${T}/src.list"
43
	ejavac -d "${S}/classes" \
44
			"@${T}/src.list"
45
46
	cd "${S}/classes"
47
	jar -cf "${S}/${PN}.jar" * || die "failed to create jar"
48
}
49
40
src_test() {
50
src_test() {
41
	JAVA_SRC_DIR="src/test" \
51
	JAVA_SRC_DIR="src/test" \
42
		JAVA_CLASSPATH_EXTRA="${PN}.jar" \
52
		JAVA_CLASSPATH_EXTRA="${PN}.jar" \

Return to bug 430688