summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2006-01-22 03:12:19 +0000
committerJoshua Nichols <nichoj@gentoo.org>2006-01-22 03:12:19 +0000
commit67e0ae94fc9de6292157208faddc4ce1db097c71 (patch)
treebff7964716ac17c4b5c9e876ddf9521238092bd3 /dev-java/ognl
parentFix for modular X. (diff)
downloadgentoo-2-67e0ae94fc9de6292157208faddc4ce1db097c71.tar.gz
gentoo-2-67e0ae94fc9de6292157208faddc4ce1db097c71.tar.bz2
gentoo-2-67e0ae94fc9de6292157208faddc4ce1db097c71.zip
Initial import. Dependency to build oscore from source (bug #63282).
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'dev-java/ognl')
-rw-r--r--dev-java/ognl/ChangeLog10
-rw-r--r--dev-java/ognl/Manifest4
-rw-r--r--dev-java/ognl/files/digest-ognl-2.6.71
-rw-r--r--dev-java/ognl/metadata.xml5
-rw-r--r--dev-java/ognl/ognl-2.6.7.ebuild45
5 files changed, 65 insertions, 0 deletions
diff --git a/dev-java/ognl/ChangeLog b/dev-java/ognl/ChangeLog
new file mode 100644
index 000000000000..f8faf4591b54
--- /dev/null
+++ b/dev-java/ognl/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/ognl
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ognl/ChangeLog,v 1.1 2006/01/22 03:12:19 nichoj Exp $
+
+*ognl-2.6.7 (22 Jan 2006)
+
+ 22 Jan 2006; Joshua Nichols <nichoj@gentoo.org> +metadata.xml,
+ +ognl-2.6.7.ebuild:
+ Initial import. Dependency to build oscore from source (bug #63282).
+
diff --git a/dev-java/ognl/Manifest b/dev-java/ognl/Manifest
new file mode 100644
index 000000000000..a52d3ca42bb6
--- /dev/null
+++ b/dev-java/ognl/Manifest
@@ -0,0 +1,4 @@
+MD5 86457b2976ff359bfdca74fafdff507c ChangeLog 300
+MD5 1b99e0c13b616536de7d7db8584ffd6d files/digest-ognl-2.6.7 64
+MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
+MD5 cad382d40b7a0d4b0516a729a0e0058d ognl-2.6.7.ebuild 978
diff --git a/dev-java/ognl/files/digest-ognl-2.6.7 b/dev-java/ognl/files/digest-ognl-2.6.7
new file mode 100644
index 000000000000..c64b578b5032
--- /dev/null
+++ b/dev-java/ognl/files/digest-ognl-2.6.7
@@ -0,0 +1 @@
+MD5 2da68b6919f31f17ca091a26175d587d ognl-2.6.7-dist.zip 332428
diff --git a/dev-java/ognl/metadata.xml b/dev-java/ognl/metadata.xml
new file mode 100644
index 000000000000..838c00a4a448
--- /dev/null
+++ b/dev-java/ognl/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+</pkgmetadata>
diff --git a/dev-java/ognl/ognl-2.6.7.ebuild b/dev-java/ognl/ognl-2.6.7.ebuild
new file mode 100644
index 000000000000..c30bcf32f632
--- /dev/null
+++ b/dev-java/ognl/ognl-2.6.7.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ognl/ognl-2.6.7.ebuild,v 1.1 2006/01/22 03:12:19 nichoj Exp $
+
+inherit java-pkg
+
+DESCRIPTION="Object-Graph Navigation Language; it is an expression language for getting and setting properties of Java objects"
+HOMEPAGE="http://www.ognl.org/"
+SRC_URI="http://www.ognl.org/${PV}/${P}-dist.zip"
+
+LICENSE="OpenSymphony-1.1"
+SLOT="2.6"
+KEYWORDS="~x86"
+IUSE="doc source"
+
+DEPEND=">=virtual/jdk-1.4
+ dev-java/ant-core
+ ${LIB_DEPS}"
+RDEPEND=">=virtual/jre-1.4
+ ${LIB_DEPS}"
+
+LIB_DEPS="dev-java/javacc
+ =dev-java/javassist-3.1*"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/lib
+ java-pkg_jar-from javacc
+ java-pkg_jar-from javassist-3.1
+}
+
+src_compile() {
+ local antflags="jar"
+ use doc && antflags="${antflags} javadoc-doc -Djavadoc.output=doc/api"
+ ant ${antflags} || die "ant failed"
+}
+
+src_install() {
+ java-pkg_newjar ${P}.jar ${PN}.jar
+
+ use doc && java-pkg_dohtml -r doc/api
+ use source && java-pkg_dosrc java/*
+}