diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2016-02-21 15:32:22 +0000 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-02-21 15:32:45 +0000 |
commit | 3fbae1e3a8a65b1615442b91dcac71cb28047c0d (patch) | |
tree | 3c94dbb4f95f3abe3d87ee3b08a26649ac032333 /dev-java | |
parent | dev-python/ipyparallel: Version Bump (diff) | |
download | gentoo-3fbae1e3a8a65b1615442b91dcac71cb28047c0d.tar.gz gentoo-3fbae1e3a8a65b1615442b91dcac71cb28047c0d.tar.bz2 gentoo-3fbae1e3a8a65b1615442b91dcac71cb28047c0d.zip |
dev-java/velocity: Remove the cruft and convert to java-pkg-simple.
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/velocity/velocity-1.7-r2.ebuild | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/dev-java/velocity/velocity-1.7-r2.ebuild b/dev-java/velocity/velocity-1.7-r2.ebuild new file mode 100644 index 000000000000..bd3f8f37a088 --- /dev/null +++ b/dev-java/velocity/velocity-1.7-r2.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +JAVA_PKG_IUSE="examples doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Java framework for easy creation/rendering of documents" +HOMEPAGE="http://velocity.apache.org" +SRC_URI="mirror://apache/${PN}/engine/${PV}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +CDEPEND=" + dev-java/jdom:0 + dev-java/log4j:0 + dev-java/ant-core:0 + dev-java/werken-xpath:0 + dev-java/jakarta-oro:2.0 + dev-java/avalon-logkit:2.0 + dev-java/commons-lang:2.1 + dev-java/commons-logging:0 + dev-java/commons-collections:0 + java-virtuals/servlet-api:2.3 +" +DEPEND=" + ${CDEPEND} + >=virtual/jdk-1.6 +" +RDEPEND=" + ${CDEPEND} + >=virtual/jre-1.6" + +JAVA_GENTOO_CLASSPATH=" + jdom + log4j + ant-core + werken-xpath + jakarta-oro-2.0 + servlet-api-2.3 + commons-logging + commons-lang-2.1 + avalon-logkit-2.0 + commons-collections +" + +JAVA_SRC_DIR="src" + +RESTRICT="test" + +S="${WORKDIR}/${P}" + +java_prepare() { + java-pkg_clean + rm -rf test src/test || die +} + +src_install() { + java-pkg-simple_src_install + use examples && java-pkg_doexamples examples +} |