diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-20 11:25:52 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-20 11:25:52 +0000 |
commit | 5facf6656173698df946d54c27d003b527efbdec (patch) | |
tree | 17ff94e3498c7d6eabf0738b42ac56e2fde2a4ff /dev-java/commons-cli | |
parent | Adding CVS version of gnome-pilot from january which has a netsync patch appl... (diff) | |
download | historical-5facf6656173698df946d54c27d003b527efbdec.tar.gz historical-5facf6656173698df946d54c27d003b527efbdec.tar.bz2 historical-5facf6656173698df946d54c27d003b527efbdec.zip |
Migrated to Generation 2.
Package-Manager: portage-2.1.1_pre3-r1
Diffstat (limited to 'dev-java/commons-cli')
-rw-r--r-- | dev-java/commons-cli/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/commons-cli/commons-cli-1.0-r5.ebuild | 49 | ||||
-rw-r--r-- | dev-java/commons-cli/files/digest-commons-cli-1.0-r4 | 2 | ||||
-rw-r--r-- | dev-java/commons-cli/files/digest-commons-cli-1.0-r5 | 3 |
4 files changed, 62 insertions, 2 deletions
diff --git a/dev-java/commons-cli/ChangeLog b/dev-java/commons-cli/ChangeLog index 4aa83c71b578..db795a0b5792 100644 --- a/dev-java/commons-cli/ChangeLog +++ b/dev-java/commons-cli/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/commons-cli -# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-cli/ChangeLog,v 1.20 2005/09/21 07:00:00 betelgeuse Exp $ +# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-cli/ChangeLog,v 1.21 2006/07/20 11:18:02 nelchael Exp $ + +*commons-cli-1.0-r5 (20 Jul 2006) + + 20 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org> + +commons-cli-1.0-r5.ebuild: + Migrated to Generation 2. 21 Sep 2005; Petteri Räty <betelgeuse@gentoo.org> commons-cli-1.0-r4.ebuild: diff --git a/dev-java/commons-cli/commons-cli-1.0-r5.ebuild b/dev-java/commons-cli/commons-cli-1.0-r5.ebuild new file mode 100644 index 000000000000..0997ed3225b1 --- /dev/null +++ b/dev-java/commons-cli/commons-cli-1.0-r5.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-cli/commons-cli-1.0-r5.ebuild,v 1.1 2006/07/20 11:18:02 nelchael Exp $ + +inherit java-pkg-2 java-ant-2 eutils + +DESCRIPTION="The CLI library provides a simple and easy to use API for working with the command line arguments and options." +HOMEPAGE="http://jakarta.apache.org/commons/cli/" +SRC_URI="mirror://apache/jakarta/commons/cli/source/cli-${PV}-src.tar.gz" + +LICENSE="Apache-1.1" +SLOT="1" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc junit source" + +RDEPEND=">=virtual/jre-1.3 + >=dev-java/commons-logging-1.0 + =dev-java/commons-lang-2.0*" +DEPEND=">=virtual/jdk-1.3 + ${RDEPEND} + junit? ( >=dev-java/junit-3.7 >=dev-java/ant-tasks-1.6.2 ) + source? ( app-arch/zip ) + >=dev-java/ant-core-1.6.2" + +src_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/${P}-gentoo.diff + echo "commons-logging.jar=$(java-pkg_getjar commons-logging commons-logging.jar)" >> build.properties + echo "commons-lang.jar=$(java-pkg_getjars commons-lang)" >> build.properties + use junit && echo "junit.jar=$(java-pkg_getjars junit)" >> build.properties +} + +src_compile() { + local antflags="jar" + use doc && antflags="${antflags} javadoc" + use junit && antflags="${antflags} test" + eant ${antflags} || die "compilation failed" +} + +src_install() { + java-pkg_newjar target/${P}.jar ${PN}.jar + + dodoc README.txt + use doc && java-pkg_dohtml -r target/docs/ + use source && java-pkg_dosrc src/java/* +} + diff --git a/dev-java/commons-cli/files/digest-commons-cli-1.0-r4 b/dev-java/commons-cli/files/digest-commons-cli-1.0-r4 index 9fa950d9ac6b..5e7e22c5da3b 100644 --- a/dev-java/commons-cli/files/digest-commons-cli-1.0-r4 +++ b/dev-java/commons-cli/files/digest-commons-cli-1.0-r4 @@ -1 +1,3 @@ MD5 ba34d585046b1f17dacbb13b377f4255 cli-1.0-src.tar.gz 37046 +RMD160 85404f803751f50e980c4cd976cd930f6be0ef9f cli-1.0-src.tar.gz 37046 +SHA256 fa4bf0850c896a9d5679f30d9921a98b3d262678019433f36ef810235ae58ec8 cli-1.0-src.tar.gz 37046 diff --git a/dev-java/commons-cli/files/digest-commons-cli-1.0-r5 b/dev-java/commons-cli/files/digest-commons-cli-1.0-r5 new file mode 100644 index 000000000000..5e7e22c5da3b --- /dev/null +++ b/dev-java/commons-cli/files/digest-commons-cli-1.0-r5 @@ -0,0 +1,3 @@ +MD5 ba34d585046b1f17dacbb13b377f4255 cli-1.0-src.tar.gz 37046 +RMD160 85404f803751f50e980c4cd976cd930f6be0ef9f cli-1.0-src.tar.gz 37046 +SHA256 fa4bf0850c896a9d5679f30d9921a98b3d262678019433f36ef810235ae58ec8 cli-1.0-src.tar.gz 37046 |