summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2007-03-17 20:44:22 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2007-03-17 20:44:22 +0000
commitd3c2d60f90e4623370391388fdc1df6ab131cb9b (patch)
treef4fb22a4f5e7d303ccc87c51b76aabd2802a47c3 /dev-java/ecs
parentVersion bump. Thanks to Diego Pettenò <flameeyes@gmail.com>. (diff)
downloadgentoo-2-d3c2d60f90e4623370391388fdc1df6ab131cb9b.tar.gz
gentoo-2-d3c2d60f90e4623370391388fdc1df6ab131cb9b.tar.bz2
gentoo-2-d3c2d60f90e4623370391388fdc1df6ab131cb9b.zip
Migrated to generation 2.
(Portage version: 2.1.2.2)
Diffstat (limited to 'dev-java/ecs')
-rw-r--r--dev-java/ecs/ChangeLog7
-rw-r--r--dev-java/ecs/ecs-1.4.2-r1.ebuild52
-rw-r--r--dev-java/ecs/files/digest-ecs-1.4.2-r13
3 files changed, 61 insertions, 1 deletions
diff --git a/dev-java/ecs/ChangeLog b/dev-java/ecs/ChangeLog
index 771bf25fd69c..dbad9578727b 100644
--- a/dev-java/ecs/ChangeLog
+++ b/dev-java/ecs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/ecs
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/ecs/ChangeLog,v 1.15 2007/02/21 23:33:13 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ecs/ChangeLog,v 1.16 2007/03/17 20:44:22 nelchael Exp $
+
+*ecs-1.4.2-r1 (17 Mar 2007)
+
+ 17 Mar 2007; Krzysiek Pawlik <nelchael@gentoo.org> +ecs-1.4.2-r1.ebuild:
+ Migrated to generation 2.
21 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
diff --git a/dev-java/ecs/ecs-1.4.2-r1.ebuild b/dev-java/ecs/ecs-1.4.2-r1.ebuild
new file mode 100644
index 000000000000..16b4e544e036
--- /dev/null
+++ b/dev-java/ecs/ecs-1.4.2-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ecs/ecs-1.4.2-r1.ebuild,v 1.1 2007/03/17 20:44:22 nelchael Exp $
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Java library to generate markup language text such as HTML and XML"
+HOMEPAGE="http://jakarta.apache.org/ecs"
+SRC_URI="mirror://apache/jakarta/ecs/source/${P}-src.tar.gz"
+
+LICENSE="Apache-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc source"
+
+RDEPEND=">=virtual/jre-1.4
+ =dev-java/jakarta-regexp-1.3*
+ >=dev-java/xerces-2.7"
+DEPEND=">=virtual/jdk-1.4
+ ${RDEPEND}
+ source? ( app-arch/zip )"
+
+S="${WORKDIR}/${P}-src"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ rm -f lib/*.jar
+ rm -f build/*.jar
+ rm -f ecs*.jar
+
+ java-ant_bsfix_one build/build-ecs.xml
+
+ cd "${S}/lib"
+ java-pkg_jar-from xerces-2 xercesImpl.jar xerces.jar
+ java-pkg_jar-from jakarta-regexp-1.3 jakarta-regexp.jar regexp.jar
+}
+
+src_compile() {
+ local antflags="jar"
+ use doc && antflags="${antflags} javadocs"
+ eant -f build/build-ecs.xml ${antflags}
+}
+
+src_install() {
+ java-pkg_newjar bin/${P}.jar ${PN}.jar
+
+ dodoc AUTHORS ChangeLog README
+ use doc && java-pkg_dojavadoc docs/*
+ use source && java-pkg_dosrc src/java/*
+}
diff --git a/dev-java/ecs/files/digest-ecs-1.4.2-r1 b/dev-java/ecs/files/digest-ecs-1.4.2-r1
new file mode 100644
index 000000000000..2d359f94966f
--- /dev/null
+++ b/dev-java/ecs/files/digest-ecs-1.4.2-r1
@@ -0,0 +1,3 @@
+MD5 55bf0cad9db51d30446b2ae8f83f7410 ecs-1.4.2-src.tar.gz 3435157
+RMD160 a5607e4fb5bdb40e2b6d7367a500e328358af4c8 ecs-1.4.2-src.tar.gz 3435157
+SHA256 8e98da4dd0ed5498bdfac1ec7a4bfa429348d1c8733ed189e67923d98adb2a31 ecs-1.4.2-src.tar.gz 3435157