summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Aniszczyk <zx@gentoo.org>2004-08-13 21:29:23 +0000
committerChris Aniszczyk <zx@gentoo.org>2004-08-13 21:29:23 +0000
commitd825b626c5938d551289be15caa0ad22101e58fe (patch)
treec97e26f3bf7498c26da5c373ec92e426cba3f5bb /dev-java/commons-codec
parentStable on alpha. (Manifest recommit) (diff)
downloadgentoo-2-d825b626c5938d551289be15caa0ad22101e58fe.tar.gz
gentoo-2-d825b626c5938d551289be15caa0ad22101e58fe.tar.bz2
gentoo-2-d825b626c5938d551289be15caa0ad22101e58fe.zip
Version bump
Diffstat (limited to 'dev-java/commons-codec')
-rw-r--r--dev-java/commons-codec/ChangeLog7
-rw-r--r--dev-java/commons-codec/Manifest14
-rw-r--r--dev-java/commons-codec/commons-codec-1.3.ebuild55
-rw-r--r--dev-java/commons-codec/files/digest-commons-codec-1.31
4 files changed, 65 insertions, 12 deletions
diff --git a/dev-java/commons-codec/ChangeLog b/dev-java/commons-codec/ChangeLog
index 66f9f522e7aa..dc43003919c5 100644
--- a/dev-java/commons-codec/ChangeLog
+++ b/dev-java/commons-codec/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/commons-codec
# Copyright 2000-2004 Gentoo Foundation; Distributed unde the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-codec/ChangeLog,v 1.6 2004/07/30 18:45:40 axxo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-codec/ChangeLog,v 1.7 2004/08/13 21:29:23 zx Exp $
+
+*commons-codec-1.3 (13 Aug 2004)
+
+ 13 Aug 2004; Chris Aniszczyk <zx@gentoo.org> +commons-codec-1.3.ebuild:
+ Version bump
30 Jul 2004; Thomas Matthijs <axxo@gentoo.org> commons-codec-1.2.ebuild:
move dev-java/avalon-logkit dev-java/avalon-logkit-bin
diff --git a/dev-java/commons-codec/Manifest b/dev-java/commons-codec/Manifest
index 313b7bfc75db..05ce39043b0f 100644
--- a/dev-java/commons-codec/Manifest
+++ b/dev-java/commons-codec/Manifest
@@ -1,14 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 966b61b09c4d09c3d78c4dd7fa61f028 commons-codec-1.2.ebuild 1686
MD5 872495a1d81e4c45e8415e697380eab9 ChangeLog 871
+MD5 966b61b09c4d09c3d78c4dd7fa61f028 commons-codec-1.3.ebuild 1686
+MD5 966b61b09c4d09c3d78c4dd7fa61f028 commons-codec-1.2.ebuild 1686
MD5 f2dad337cc9e728840751448669405c9 metadata.xml 1288
+MD5 1d7a82a79466c6924974fa12af467fe5 files/digest-commons-codec-1.3 72
MD5 d1f11eab4f180d78ef009ffeb34f1eea files/digest-commons-codec-1.2 72
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.4 (GNU/Linux)
-
-iD8DBQFBCpe//rLF9B432nYRAjfZAJwLEHkPXAY+IxoTrZvuV+mOKxBEngCdHvT4
-+jSZq1yI52tsJ9K73M/PaME=
-=xdx9
------END PGP SIGNATURE-----
diff --git a/dev-java/commons-codec/commons-codec-1.3.ebuild b/dev-java/commons-codec/commons-codec-1.3.ebuild
new file mode 100644
index 000000000000..0fd7fa64620f
--- /dev/null
+++ b/dev-java/commons-codec/commons-codec-1.3.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-codec/commons-codec-1.3.ebuild,v 1.1 2004/08/13 21:29:23 zx Exp $
+
+inherit java-pkg
+
+DESCRIPTION="Common Codecs provides implementations of common encoders and decoders such as Base64, Hex, various phonetic encodings, and URLs"
+HOMEPAGE="http://jakarta.apache.org/commons/codec/"
+SRC_URI="mirror://apache/jakarta/commons/codec/source/${PN}-${PV}-src.tar.gz"
+
+DEPEND=">=virtual/jdk-1.3
+ >=dev-java/log4j-1.2.5
+ dev-java/avalon-logkit-bin
+ >=dev-java/ant-1.4
+ jikes? ( dev-java/jikes )
+ junit? ( >=dev-java/junit-3.7 )"
+RDEPEND=">=virtual/jdk-1.3"
+LICENSE="Apache-1.1"
+SLOT="0"
+KEYWORDS="x86 ppc"
+IUSE="doc jikes junit"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ cp build.xml build.xml.b0rken
+ sed -r "s_../LICENSE_LICENSE.txt_" \
+ < build.xml.b0rken \
+ > build.xml
+ echo "junit.jar=`java-config -p junit`" > build.properties
+ echo "conf.home=./src/conf" >> build.properties
+ echo "source.home=./src/java" >> build.properties
+ echo "build.home=./output" >> build.properties
+ echo "dist.home=./output/dist" >> build.properties
+ echo "test.home=./src/test" >> build.properties
+ echo "final.name=commons-codec" >> build.properties
+}
+
+src_compile() {
+ local antflags="compile"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ use doc && antflags="${antflags} javadoc"
+ use junit && antflags="${antflags} test"
+ echo ${antflags}
+ ant ${antflags} jar || die "compile problem"
+}
+
+src_install() {
+ java-pkg_dojar output/dist/${PN}.jar
+
+ dodoc RELEASE-NOTES.txt
+ use doc && dohtml -r output/dist/docs/
+}
diff --git a/dev-java/commons-codec/files/digest-commons-codec-1.3 b/dev-java/commons-codec/files/digest-commons-codec-1.3
new file mode 100644
index 000000000000..83534fa668fb
--- /dev/null
+++ b/dev-java/commons-codec/files/digest-commons-codec-1.3
@@ -0,0 +1 @@
+MD5 ac19a5dc22b1293b39d0445ad08c4ce7 commons-codec-1.3-src.tar.gz 88242