blob: 3eb250926e40a5ed3269a7395a0ad24725efcfc8 (
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-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/spin/spin-1.5.ebuild,v 1.1 2007/04/20 16:23:03 betelgeuse Exp $
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
DESCRIPTION="Transparent threading solution for non-freezing Swing applications."
HOMEPAGE="http://spin.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${P}-all.zip"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~x86 ~amd64 ~ppc"
COMMON_DEP="dev-java/cglib"
DEPEND=">=virtual/jdk-1.4
app-arch/unzip
${COMMON_DEP}"
RDEPEND=">=virtual/jre-1.4
${COMMON_DEP}"
src_unpack() {
unpack ${A}
cd "${S}"
cp "${FILESDIR}/${PV}-build.xml" build.xml || die
cp "${FILESDIR}/${PV}-maven-build.properties" maven-build.properties || die
rm -v lib/*.jar || die
}
EANT_GENTOO_CLASSPATH="cglib-2.1"
# Needs X
RESTRICT="test"
src_test() {
ANT_TASKS="ant-junit" eant test
}
src_install() {
java-pkg_newjar target/${P}.jar
use doc && java-pkg_dojavdoc target/site/apidocs
use source && java-pkg_dosrc src/main/java/*
}
|