summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2007-08-04 11:09:46 +0000
committerMiroslav Šulc <fordfrog@gentoo.org>2007-08-04 11:09:46 +0000
commit92326371f8cdc354df84a8f08fa3f2b87c8a0cf3 (patch)
treeca2d4b310ed750a160bb1266e2a8e6781a4434c0 /dev-java/qdox
parentppc stable, bug #184696 (diff)
downloadgentoo-2-92326371f8cdc354df84a8f08fa3f2b87c8a0cf3.tar.gz
gentoo-2-92326371f8cdc354df84a8f08fa3f2b87c8a0cf3.tar.bz2
gentoo-2-92326371f8cdc354df84a8f08fa3f2b87c8a0cf3.zip
Version bump. Versioning scheme of qdox has changed.
(Portage version: 2.1.3.2)
Diffstat (limited to 'dev-java/qdox')
-rw-r--r--dev-java/qdox/ChangeLog7
-rw-r--r--dev-java/qdox/files/digest-qdox-1.6.33
-rw-r--r--dev-java/qdox/qdox-1.6.3.ebuild48
3 files changed, 57 insertions, 1 deletions
diff --git a/dev-java/qdox/ChangeLog b/dev-java/qdox/ChangeLog
index c008e0e22db9..989db8ed8ab6 100644
--- a/dev-java/qdox/ChangeLog
+++ b/dev-java/qdox/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/qdox
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/qdox/ChangeLog,v 1.9 2007/05/13 18:23:19 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/qdox/ChangeLog,v 1.10 2007/08/04 11:09:46 fordfrog Exp $
+
+*qdox-1.6.3 (04 Aug 2007)
+
+ 04 Aug 2007; Miroslav Šulc <fordfrog@gentoo.org> +qdox-1.6.3.ebuild:
+ Version bump. Versioning scheme of qdox has changed.
13 May 2007; Krzysiek Pawlik <nelchael@gentoo.org>
qdox-20050104-r1.ebuild:
diff --git a/dev-java/qdox/files/digest-qdox-1.6.3 b/dev-java/qdox/files/digest-qdox-1.6.3
new file mode 100644
index 000000000000..c1ef113db290
--- /dev/null
+++ b/dev-java/qdox/files/digest-qdox-1.6.3
@@ -0,0 +1,3 @@
+MD5 ff18a00f7c8075f8af6ee067c0dbc7fd qdox-1.6.3-sources.jar 63731
+RMD160 991b73b5689f1cf39e33765080d81b306d358841 qdox-1.6.3-sources.jar 63731
+SHA256 7ddb3a75c1ab415c631ae39660679630653bbbed84895e5ed4b4775ce5327846 qdox-1.6.3-sources.jar 63731
diff --git a/dev-java/qdox/qdox-1.6.3.ebuild b/dev-java/qdox/qdox-1.6.3.ebuild
new file mode 100644
index 000000000000..c7eab45dcbfa
--- /dev/null
+++ b/dev-java/qdox/qdox-1.6.3.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/qdox/qdox-1.6.3.ebuild,v 1.1 2007/08/04 11:09:46 fordfrog Exp $
+
+JAVA_PKG_IUSE="doc source"
+inherit java-pkg-2 java-ant-2
+DESCRIPTION="High speed, small footprint parser for extracting class/interface/method definitions from source files complete with JavaDoc @tags."
+HOMEPAGE="http://qdox.codehaus.org/"
+SRC_URI="http://repository.codehaus.org/com/thoughtworks/${PN}/${PN}/${PV}/${P}-sources.jar"
+LICENSE="Apache-2.0"
+SLOT="1.6"
+KEYWORDS="~x86"
+IUSE=""
+
+CDEPEND="dev-java/ant-core
+ =dev-java/junit-3.8*"
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ ${CDEPEND}"
+RDEPEND=">=virtual/jre-1.4
+ ${CDEPEND}"
+S=${WORKDIR}
+
+src_compile() {
+ # create jar
+ mkdir -p build/classes
+ ejavac -sourcepath . -d build/classes -classpath $(java-pkg_getjars ant-core,junit) \
+ $(find -name "*.java") || die "Cannot compile sources"
+ mkdir dist
+ cd build/classes
+ jar -cvf ${S}/dist/${PN}.jar com || die "Cannot create JAR"
+
+ # generate javadoc
+ if use doc ; then
+ cd ${S}
+ mkdir javadoc
+ javadoc -d javadoc -sourcepath . -subpackages com \
+ -classpath $(java-pkg_getjars ant-core,junit)
+ fi
+}
+
+src_install() {
+ java-pkg_dojar dist/${PN}.jar
+ java-pkg_register-ant-task
+
+ use source && java-pkg_dosrc com
+ use doc && java-pkg_dojavadoc javadoc
+}