blob: 30835bc37621658cd6c239d0050d0b5046d9362e (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/skinlf/skinlf-1.2.12-r1.ebuild,v 1.2 2006/02/01 14:28:05 chutzpah Exp $
inherit java-pkg eutils
MY_P="${P}-20051009"
DESCRIPTION="Skin Look and Feel - Skinning Engine for the Swing toolkit"
HOMEPAGE="http://skinlf.l2fprod.com/"
SRC_URI="https://skinlf.dev.java.net/files/documents/66/22128/${MY_P}.zip"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="source"
RDEPEND=">=virtual/jre-1.3
dev-java/javacc
dev-java/xalan
dev-java/xerces"
DEPEND=">=virtual/jdk-1.3
>=dev-java/ant-core-1.5.4
dev-java/ant-tasks
source? ( app-arch/zip )"
src_unpack() {
unpack ${A}
epatch ${FILESDIR}/${P}-image-utils-without-jimi.patch
cp ${FILESDIR}/${P}-build.xml ${S}/build.xml
cp ${FILESDIR}/${P}-common.xml ${S}/common.xml
cp ${FILESDIR}/${P}-common-devjavanet.xml ${S}/common-devjavanet.xml
cd ${S}/lib
rm *.jar
java-pkg_jar-from javacc
java-pkg_jar-from xalan
java-pkg_jar-from xerces-2
}
src_compile() {
local antflags="jar"
#use doc && antflags="${antflags} public-doc"
cd ${S}
ant ${antflags} || die "compilation failed !"
}
src_install() {
use source && java-pkg_dosrc src/*
java-pkg_dojar build/skinlf.jar
#java-pkg_dojar lib/skinlf.jar
dodoc LICENSE LICENSE_nanoxml
}
|