diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/jcalendar/jcalendar-1.4.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/jcalendar/jcalendar-1.4.ebuild')
-rw-r--r-- | dev-java/jcalendar/jcalendar-1.4.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/dev-java/jcalendar/jcalendar-1.4.ebuild b/dev-java/jcalendar/jcalendar-1.4.ebuild new file mode 100644 index 000000000000..1833038cc4a9 --- /dev/null +++ b/dev-java/jcalendar/jcalendar-1.4.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Java date chooser bean for graphically picking a date" +HOMEPAGE="http://www.toedter.com/en/jcalendar/" +SRC_URI="http://www.toedter.com/download/${P}.zip" + +LICENSE="LGPL-2.1" +SLOT="1.2" +KEYWORDS="amd64 x86" + +CDEPEND="dev-java/jgoodies-looks:2.6" + +RDEPEND=" + ${CDEPEND} + >=virtual/jre-1.6" + +DEPEND=" + ${CDEPEND} + app-arch/unzip + >=virtual/jdk-1.6" + +S="${WORKDIR}" + +RESTRICT="test" + +JAVA_ANT_REWRITE_CLASSPATH="true" +EANT_GENTOO_CLASSPATH="jgoodies-looks-2.6" +EANT_BUILD_XML="src/build.xml" +EANT_BUILD_TARGET="jar" +EANT_DOC_TARGET="" + +java_prepare() { + java-pkg_clean +} + +src_install() { + java-pkg_newjar lib/${P}.jar + + dodoc readme.txt + + use doc && java-pkg_dohtml -r doc/* + use source && java-pkg_dosrc src/com +} |