summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Sennhauser <sera@gentoo.org>2012-09-27 18:57:27 +0000
committerRalph Sennhauser <sera@gentoo.org>2012-09-27 18:57:27 +0000
commit0c86152a275238fc926085e7c6fdff7219a67443 (patch)
tree0a73a9d3a77d56c73e467f88a18e3f4c80012c41 /dev-java/ognl/ognl-2.6.9-r2.ebuild
parentAdded prefix flag to IUSE_IMPLICIT for EAPI=5 ebuild testing (diff)
downloadgentoo-2-0c86152a275238fc926085e7c6fdff7219a67443.tar.gz
gentoo-2-0c86152a275238fc926085e7c6fdff7219a67443.tar.bz2
gentoo-2-0c86152a275238fc926085e7c6fdff7219a67443.zip
Drop all unused deps including javacc. #315557
EAPI bump and cleanup. (Portage version: 2.1.11.13/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/ognl/ognl-2.6.9-r2.ebuild')
-rw-r--r--dev-java/ognl/ognl-2.6.9-r2.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-java/ognl/ognl-2.6.9-r2.ebuild b/dev-java/ognl/ognl-2.6.9-r2.ebuild
new file mode 100644
index 000000000000..92f9b422a3d9
--- /dev/null
+++ b/dev-java/ognl/ognl-2.6.9-r2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ognl/ognl-2.6.9-r2.ebuild,v 1.1 2012/09/27 18:57:27 sera Exp $
+
+EAPI="4"
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Object-Graph Navigation Language"
+HOMEPAGE="http://www.ognl.org/"
+SRC_URI="http://www.ognl.org/${PV}/${P}-dist.zip
+ https://ognl.dev.java.net/source/browse/*checkout*/ognl/osbuild.xml"
+
+LICENSE="OpenSymphony-1.1"
+SLOT="2.6"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.4"
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ default
+ cp "${DISTDIR}/osbuild.xml" "${S}/" || die
+}
+
+java_prepare() {
+ find -name '*.jar' -exec rm -v {} + || die
+}
+
+EANT_DOC_TARGET="javadocs"
+
+src_install() {
+ java-pkg_newjar build/${P}.jar ${PN}.jar
+ use doc && java-pkg_dohtml -r dist/docs/api
+ use source && java-pkg_dosrc src/java/*
+}