summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2006-10-16 21:36:16 +0000
committerVlastimil Babka <caster@gentoo.org>2006-10-16 21:36:16 +0000
commit2d874571d262b0432cad89a2fbc72c214e3a1db5 (patch)
tree7bac872f203223ee941ff304189014cc16b148cc /dev-java/jreleaseinfo/jreleaseinfo-1.3.0.ebuild
parentbug #147107 thanks Nick Hofstede for the heads up on xform plugin support (diff)
downloadgentoo-2-2d874571d262b0432cad89a2fbc72c214e3a1db5.tar.gz
gentoo-2-2d874571d262b0432cad89a2fbc72c214e3a1db5.tar.bz2
gentoo-2-2d874571d262b0432cad89a2fbc72c214e3a1db5.zip
Initial commit as dependency for l2fprod-common requested in bug #143253.
(Portage version: 2.1.2_pre3-r2)
Diffstat (limited to 'dev-java/jreleaseinfo/jreleaseinfo-1.3.0.ebuild')
-rw-r--r--dev-java/jreleaseinfo/jreleaseinfo-1.3.0.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-java/jreleaseinfo/jreleaseinfo-1.3.0.ebuild b/dev-java/jreleaseinfo/jreleaseinfo-1.3.0.ebuild
new file mode 100644
index 000000000000..3ed19b79e1f4
--- /dev/null
+++ b/dev-java/jreleaseinfo/jreleaseinfo-1.3.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jreleaseinfo/jreleaseinfo-1.3.0.ebuild,v 1.1 2006/10/16 21:36:16 caster Exp $
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Ant Task for build-time creation of Java source file with program version, build number or any other info"
+HOMEPAGE="http://${PN}.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="source"
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ dev-java/ant-core
+ source? ( app-arch/zip )"
+RDEPEND=">=virtual/jre-1.4"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ java-ant_rewrite-classpath build.xml
+}
+
+src_compile() {
+ local gcp="$(java-pkg_getjar --build-only ant-core ant.jar)"
+ eant -Dgentoo.classpath="${gcp}" jar
+}
+
+src_install() {
+ java-pkg_newjar "target/${P}.jar"
+ dodoc LICENSE.txt
+ use source && java-pkg_dosrc src/java/ch
+}