1 |
tomwij 13/10/02 22:35:39 |
2 |
|
3 |
Added: metadata.xml struts-xwork-2.3.15.2.ebuild ChangeLog |
4 |
Log: |
5 |
New package for dev-java/struts-xwork, the XWork Core of Struts 2. |
6 |
|
7 |
(Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 dev-java/struts-xwork/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/struts-xwork/metadata.xml?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/struts-xwork/metadata.xml?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: metadata.xml |
16 |
=================================================================== |
17 |
<?xml version="1.0" encoding="UTF-8"?> |
18 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 |
<pkgmetadata> |
20 |
<herd>java</herd> |
21 |
</pkgmetadata> |
22 |
|
23 |
|
24 |
|
25 |
1.1 dev-java/struts-xwork/struts-xwork-2.3.15.2.ebuild |
26 |
|
27 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/struts-xwork/struts-xwork-2.3.15.2.ebuild?rev=1.1&view=markup |
28 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/struts-xwork/struts-xwork-2.3.15.2.ebuild?rev=1.1&content-type=text/plain |
29 |
|
30 |
Index: struts-xwork-2.3.15.2.ebuild |
31 |
=================================================================== |
32 |
# Copyright 1999-2013 Gentoo Foundation |
33 |
# Distributed under the terms of the GNU General Public License v2 |
34 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/struts-xwork/struts-xwork-2.3.15.2.ebuild,v 1.1 2013/10/02 22:35:39 tomwij Exp $ |
35 |
|
36 |
EAPI="5" |
37 |
|
38 |
JAVA_PKG_IUSE="doc examples source test" |
39 |
|
40 |
inherit java-pkg-2 java-ant-2 |
41 |
|
42 |
MY_PN="struts" |
43 |
MY_P="${MY_PN}-${PV}-src" |
44 |
|
45 |
DESCRIPTION="A powerful Model View Controller Framework for JSP/Servlets: XWork Core" |
46 |
SRC_URI="mirror://apache/struts/source/${MY_P}.zip |
47 |
http://dev.gentoo.org/~tomwij/files/dist/${MY_PN}-build.xml-${PV}.tar.xz" |
48 |
HOMEPAGE="http://struts.apache.org/index.html" |
49 |
|
50 |
LICENSE="Apache-2.0" |
51 |
SLOT="2" |
52 |
KEYWORDS="~amd64" |
53 |
|
54 |
COMMON_DEPS="dev-java/asm:3 |
55 |
dev-java/commons-io:1 |
56 |
dev-java/commons-lang:3.1 |
57 |
dev-java/commons-logging:0 |
58 |
dev-java/ognl:3.0 |
59 |
dev-java/slf4j-api:0" |
60 |
|
61 |
RDEPEND=">=virtual/jre-1.5 |
62 |
${COMMON_DEPS}" |
63 |
|
64 |
DEPEND=">=virtual/jdk-1.5 |
65 |
test? ( dev-java/ant-junit:0 ) |
66 |
${COMMON_DEPS}" |
67 |
|
68 |
S="${WORKDIR}/${MY_PN}-${PV}/src/xwork-core" |
69 |
|
70 |
JAVA_ANT_REWRITE_CLASSPATH="true" |
71 |
EANT_GENTOO_CLASSPATH="asm-3,commons-io-1,commons-lang-3.1,commons-logging,ognl-3.0,slf4j-api" |
72 |
|
73 |
# Could not open files of the name xwork-jar.xml |
74 |
RESTRICT="test" |
75 |
|
76 |
src_unpack() { |
77 |
unpack ${MY_P}.zip |
78 |
cd "${WORKDIR}"/${MY_PN}-${PV}/src || die |
79 |
unpack ${MY_PN}-build.xml-${PV}.tar.xz |
80 |
} |
81 |
|
82 |
java_prepare() { |
83 |
find . -name '*.jar' -print -delete || die |
84 |
|
85 |
java-pkg_getjars asm-4,commons-io-1,commons-lang-2.1,commons-logging,ognl-3.0,slf4j-api |
86 |
} |
87 |
|
88 |
src_test() { |
89 |
EANT_TEST_EXTRA_ARGS="-Djunit.present=true" java-pkg-2_src_test |
90 |
} |
91 |
|
92 |
src_install() { |
93 |
java-pkg_dojar target/xwork-core.jar |
94 |
|
95 |
use doc && java-pkg_dojavadoc target/site/apidocs |
96 |
use source && java-pkg_dosrc src/main/java/com |
97 |
} |
98 |
|
99 |
|
100 |
|
101 |
1.1 dev-java/struts-xwork/ChangeLog |
102 |
|
103 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/struts-xwork/ChangeLog?rev=1.1&view=markup |
104 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/struts-xwork/ChangeLog?rev=1.1&content-type=text/plain |
105 |
|
106 |
Index: ChangeLog |
107 |
=================================================================== |
108 |
# ChangeLog for dev-java/struts-xwork |
109 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
110 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/struts-xwork/ChangeLog,v 1.1 2013/10/02 22:35:39 tomwij Exp $ |
111 |
|
112 |
*struts-xwork-2.3.15.2 (02 Oct 2013) |
113 |
|
114 |
02 Oct 2013; Tom Wijsman <TomWij@g.o> +metadata.xml, |
115 |
+struts-xwork-2.3.15.2.ebuild: |
116 |
New package for dev-java/struts-xwork, the XWork Core of Struts 2. |