blob: bc631a44afe5807282018bda80adcfaae9ad02f7 (
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
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit java-pkg-2 java-ant-2
DESCRIPTION="Common base for graphical component to build a graphical console"
HOMEPAGE="http://dev.artenum.com/projects/jrosetta"
#currently down
#SRC_URI="http://maven.artenum.com/content/groups/public/com/artenum/${PN}/${PV}/${P}-sources.jar"
SRC_URI="http://pkgs.fedoraproject.org/repo/pkgs/${PN}/${P}-sources.jar/5c3589d4207f71bad6eeefd4857bce50/${P}-sources.jar"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND="
>=virtual/jdk-1.5:*
app-arch/unzip"
RDEPEND=">=virtual/jre-1.5:*"
EANT_BUILD_TARGET="compile package"
JAVA_ANT_BSFIX_EXTRA_ARGS="--maven-cleaning"
java_prepare () {
cp "${FILESDIR}/api-build.xml" modules/jrosetta-api/build.xml || die
cp "${FILESDIR}/engine-build.xml" modules/jrosetta-engine/build.xml || die
cp "${FILESDIR}/build.xml" . || die
echo "${PV}" > modules/jrosetta-engine/src/main/resources/version.txt || die
}
src_install () {
java-pkg_newjar "modules/jrosetta-api/target/jrosetta-api-${PV}.jar" \
jrosetta-api.jar
java-pkg_newjar "modules/jrosetta-engine/target/jrosetta-engine-${PV}.jar" \
jrosetta-engine.jar
}
|