diff options
author | Jan Brinkmann <luckyduck@gentoo.org> | 2005-03-09 23:11:59 +0000 |
---|---|---|
committer | Jan Brinkmann <luckyduck@gentoo.org> | 2005-03-09 23:11:59 +0000 |
commit | c111f18cca9ec36c2d8c4286a560424e1b5e8d80 (patch) | |
tree | 8b4f41e0e2679b7c479a18c4c147ccf43ff613d6 /dev-java/commons-io | |
parent | cleanups (diff) | |
download | gentoo-2-c111f18cca9ec36c2d8c4286a560424e1b5e8d80.tar.gz gentoo-2-c111f18cca9ec36c2d8c4286a560424e1b5e8d80.tar.bz2 gentoo-2-c111f18cca9ec36c2d8c4286a560424e1b5e8d80.zip |
Initial import, ebuild based on the contribution by Vibhav Garg <vibhavgarg@gmail.com>. Fixes #70625
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-java/commons-io')
-rw-r--r-- | dev-java/commons-io/ChangeLog | 11 | ||||
-rw-r--r-- | dev-java/commons-io/Manifest | 4 | ||||
-rw-r--r-- | dev-java/commons-io/commons-io-1.0.ebuild | 44 | ||||
-rw-r--r-- | dev-java/commons-io/files/commons-io-1.0-gentoo.diff | 25 | ||||
-rw-r--r-- | dev-java/commons-io/files/digest-commons-io-1.0 | 1 | ||||
-rw-r--r-- | dev-java/commons-io/metadata.xml | 5 |
6 files changed, 90 insertions, 0 deletions
diff --git a/dev-java/commons-io/ChangeLog b/dev-java/commons-io/ChangeLog new file mode 100644 index 000000000000..05417bde86bf --- /dev/null +++ b/dev-java/commons-io/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-java/commons-io +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-io/ChangeLog,v 1.1 2005/03/09 23:11:59 luckyduck Exp $ + +*commons-io-1.0 (10 Mar 2005) + + 10 Mar 2005; Jan Brinkmann <luckyduck@gentoo.org> +metadata.xml, + +files/commons-io-1.0-gentoo.diff, +commons-io-1.0.ebuild: + Initial import, ebuild based on the contribution by Vibhav Garg + <vibhavgarg@gmail.com>. Fixes #70625 + diff --git a/dev-java/commons-io/Manifest b/dev-java/commons-io/Manifest new file mode 100644 index 000000000000..43e5a8551bc2 --- /dev/null +++ b/dev-java/commons-io/Manifest @@ -0,0 +1,4 @@ +MD5 188bc3601bfb588855535fb6d6dba3d9 commons-io-1.0.ebuild 1388 +MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 +MD5 5c8037358c1bd4650695b23df55e89fe files/digest-commons-io-1.0 70 +MD5 9d3cb592c43dd5e3f95ad2f114d20165 files/commons-io-1.0-gentoo.diff 934 diff --git a/dev-java/commons-io/commons-io-1.0.ebuild b/dev-java/commons-io/commons-io-1.0.ebuild new file mode 100644 index 000000000000..6761f3360cb0 --- /dev/null +++ b/dev-java/commons-io/commons-io-1.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-io/commons-io-1.0.ebuild,v 1.1 2005/03/09 23:11:59 luckyduck Exp $ + +inherit java-pkg eutils +DESCRIPTION=" Commons-IO contains utility classes , stream implementations, file filters , and endian classes." +HOMEPAGE="http://jakarta.apache.org/commons/io" +SRC_URI="mirror://apache/jakarta/commons/io/source/${PN}-${PV}-src.tar.gz" +DEPEND="dev-java/ant + jikes? ( >=dev-java/jikes-1.21 ) + junit? ( >=dev-java/junit-3.8 ) + >=virtual/jdk-1.3" +RDEPEND=">=virtual/jre-1.3" +LICENSE="Apache-1.1" +SLOT="1" +KEYWORDS="~x86 ~amd64" +IUSE="doc jikes junit" + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${PN}-${PV}-gentoo.diff + mkdir -p target/lib + cd target/lib + java-pkg_jar-from junit junit.jar || die "Could not link to junit" +} + +src_compile() { + local antflags="jar" + use doc && antflags="${antflags} javadoc" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + use junit && antflags="${antflags} test" + ant ${antflags} || die "compile problem" +} + +src_install() { + mv target/${PN}-${PV}.jar target/${PN}.jar + java-pkg_dojar target/${PN}.jar + + dodoc RELEASE-NOTES.txt + dohtml PROPOSAL.html STATUS.html usersguide.html + use doc && java-pkg_dohtml -r dist/docs/* +} diff --git a/dev-java/commons-io/files/commons-io-1.0-gentoo.diff b/dev-java/commons-io/files/commons-io-1.0-gentoo.diff new file mode 100644 index 000000000000..c6521a8649da --- /dev/null +++ b/dev-java/commons-io/files/commons-io-1.0-gentoo.diff @@ -0,0 +1,25 @@ +--- build.xml.orig 2005-03-10 00:04:37.625655328 +0100 ++++ build.xml 2005-03-10 00:06:00.875999352 +0100 +@@ -23,10 +23,11 @@ + <target name="init" description="o Initializes some properties"> + <mkdir dir="${libdir}"> + </mkdir> +- <condition property="noget"> ++ <!-- <condition property="noget"> + <equals arg2="only" arg1="${build.sysclasspath}"> + </equals> +- </condition> ++ </condition>--> ++ <property name="noget" value="true"></property> + </target> + <target name="compile" description="o Compile the code" depends="get-deps"> + <mkdir dir="${classesdir}"> +@@ -50,7 +51,7 @@ + </fileset> + </copy> + </target> +- <target name="jar" description="o Create the jar" depends="compile,test"> ++ <target name="jar" description="o Create the jar" depends="compile"> + <jar jarfile="target/${final.name}.jar" excludes="**/package.html" basedir="${classesdir}"> + </jar> + </target> diff --git a/dev-java/commons-io/files/digest-commons-io-1.0 b/dev-java/commons-io/files/digest-commons-io-1.0 new file mode 100644 index 000000000000..704bdfd93bed --- /dev/null +++ b/dev-java/commons-io/files/digest-commons-io-1.0 @@ -0,0 +1 @@ +MD5 4d17035d061f4ccbbd88feb049df703d commons-io-1.0-src.tar.gz 132118 diff --git a/dev-java/commons-io/metadata.xml b/dev-java/commons-io/metadata.xml new file mode 100644 index 000000000000..838c00a4a448 --- /dev/null +++ b/dev-java/commons-io/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> |