diff options
author | Joshua Nichols <nichoj@gentoo.org> | 2006-01-22 03:12:19 +0000 |
---|---|---|
committer | Joshua Nichols <nichoj@gentoo.org> | 2006-01-22 03:12:19 +0000 |
commit | 67e0ae94fc9de6292157208faddc4ce1db097c71 (patch) | |
tree | bff7964716ac17c4b5c9e876ddf9521238092bd3 /dev-java/ognl/ognl-2.6.7.ebuild | |
parent | Fix for modular X. (diff) | |
download | gentoo-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/ognl-2.6.7.ebuild')
-rw-r--r-- | dev-java/ognl/ognl-2.6.7.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
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/* +} |