diff options
-rw-r--r-- | dev-java/jcalendar/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/jcalendar/files/digest-jcalendar-1.3.2-r1 | 3 | ||||
-rw-r--r-- | dev-java/jcalendar/jcalendar-1.3.2-r1.ebuild | 46 |
3 files changed, 57 insertions, 2 deletions
diff --git a/dev-java/jcalendar/ChangeLog b/dev-java/jcalendar/ChangeLog index 49488960416c..aa31ba67dec7 100644 --- a/dev-java/jcalendar/ChangeLog +++ b/dev-java/jcalendar/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/jcalendar -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jcalendar/ChangeLog,v 1.13 2007/06/08 07:34:39 caster Exp $ +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jcalendar/ChangeLog,v 1.14 2008/01/27 19:24:10 betelgeuse Exp $ + +*jcalendar-1.3.2-r1 (27 Jan 2008) + + 27 Jan 2008; Petteri Räty <betelgeuse@gentoo.org> + +jcalendar-1.3.2-r1.ebuild: + Use SLOT 2.0 of jgoodies-looks. 08 Jun 2007; Vlastimil Babka <caster@gentoo.org> -jcalendar-1.2.2.ebuild, -jcalendar-1.2.2-r1.ebuild: diff --git a/dev-java/jcalendar/files/digest-jcalendar-1.3.2-r1 b/dev-java/jcalendar/files/digest-jcalendar-1.3.2-r1 new file mode 100644 index 000000000000..0cf338ccb7fd --- /dev/null +++ b/dev-java/jcalendar/files/digest-jcalendar-1.3.2-r1 @@ -0,0 +1,3 @@ +MD5 aebe82a498fcc2493bb2859b8f62d344 jcalendar-1.3.2.zip 667065 +RMD160 4ebc0f9782601fe2b9d7e824085ce3453ad1b0f0 jcalendar-1.3.2.zip 667065 +SHA256 57d7d6f79b6fad665c47ba4018e5de91013795e610c45937aadd1a843118e779 jcalendar-1.3.2.zip 667065 diff --git a/dev-java/jcalendar/jcalendar-1.3.2-r1.ebuild b/dev-java/jcalendar/jcalendar-1.3.2-r1.ebuild new file mode 100644 index 000000000000..759d4b725e60 --- /dev/null +++ b/dev-java/jcalendar/jcalendar-1.3.2-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jcalendar/jcalendar-1.3.2-r1.ebuild,v 1.1 2008/01/27 19:24:10 betelgeuse Exp $ + +EAPI=1 +JAVA_PKG_IUSE="doc source" + +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Java date chooser bean for graphically picking a date." +SRC_URI="http://www.toedter.com/download/${P}.zip" +HOMEPAGE="http://www.toedter.com/en/jcalendar/" +LICENSE="LGPL-2.1" +SLOT="1.2" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" +IUSE="" +COMMON_DEPEND="dev-java/jgoodies-looks:2.0" +RDEPEND=">=virtual/jdk-1.4 + ${COMMON_DEPEND}" +DEPEND=">=virtual/jdk-1.4 + >=app-arch/unzip-5.50-r1 + ${COMMON_DEPEND}" + +S=${WORKDIR} + +# NOTE: build.xml contains no tests + +src_unpack() { + unpack ${A} + + cd "${S}/lib" + rm -v *.jar || die + java-pkg_jar-from jgoodies-looks-2.0 +} + +EANT_BUILD_XML="src/build.xml" +EANT_DOC_TARGET="dist" + +src_install() { + java-pkg_newjar lib/${P}.jar + + dodoc readme.txt || die + # Other stuff besides javadoc + use doc && java-pkg_dohtml -r doc/* + use source && java-pkg_dosrc src/com +} |