diff options
author | Serkan Kaba <serkan@gentoo.org> | 2008-07-21 21:33:08 +0000 |
---|---|---|
committer | Serkan Kaba <serkan@gentoo.org> | 2008-07-21 21:33:08 +0000 |
commit | e19829c840e293870126161528afa2b6fc52028e (patch) | |
tree | 7c496bbf98ca91ad185e565f9bfcd488ffac1e6b /dev-java | |
parent | Version bump (diff) | |
download | gentoo-2-e19829c840e293870126161528afa2b6fc52028e.tar.gz gentoo-2-e19829c840e293870126161528afa2b6fc52028e.tar.bz2 gentoo-2-e19829c840e293870126161528afa2b6fc52028e.zip |
Initial commit, created as dep for l2fprod-common.
(Portage version: 2.2_rc1/cvs/Linux 2.6.24-gentoo-r8 x86_64)
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/nachocalendar/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/nachocalendar/Manifest | 4 | ||||
-rw-r--r-- | dev-java/nachocalendar/metadata.xml | 8 | ||||
-rw-r--r-- | dev-java/nachocalendar/nachocalendar-0.23.ebuild | 47 |
4 files changed, 69 insertions, 0 deletions
diff --git a/dev-java/nachocalendar/ChangeLog b/dev-java/nachocalendar/ChangeLog new file mode 100644 index 000000000000..c1a49b3033b6 --- /dev/null +++ b/dev-java/nachocalendar/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-java/nachocalendar +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/nachocalendar/ChangeLog,v 1.1 2008/07/21 21:33:08 serkan Exp $ + +*nachocalendar-0.23 (21 Jul 2008) + + 21 Jul 2008; Serkan Kaba <serkan@gentoo.org> +metadata.xml, + +nachocalendar-0.23.ebuild: + Initial commit, created as dep for l2fprod-common. + diff --git a/dev-java/nachocalendar/Manifest b/dev-java/nachocalendar/Manifest new file mode 100644 index 000000000000..47a647e32414 --- /dev/null +++ b/dev-java/nachocalendar/Manifest @@ -0,0 +1,4 @@ +DIST nachocalendar-src-0.23.tar.bz2 412489 RMD160 245a3d8440c5ae1ac7708760487b1b939cd4da7a SHA1 2e71edaa5c1405428b53424587602d2652ee8417 SHA256 e276b0e7bd7abdeb37feebfc72343f48b617dde3644b20ca5f18ad72dac226c0 +EBUILD nachocalendar-0.23.ebuild 1360 RMD160 17be85a0c8e7c32b3c24c85c842b545ace03ce9e SHA1 d88591eaa1e0ee6f69ebb1b8657ac1daf5bee7e8 SHA256 ed1ca010433ad60a68ab4c0047aa23848081e0bb60078f63d53b5d98e4175bcc +MISC ChangeLog 304 RMD160 8b97b1c7e955aa3aef6673bdc40459388267e6cb SHA1 f8132c9e4c44b0767ebf43602bea3e62b6206357 SHA256 505a2515241c3311fdd3655a3465d6afaebc38b6f1709464518ca96e2666c353 +MISC metadata.xml 216 RMD160 05d4d9c2f1c459ea9309346016001e26bad574ce SHA1 98783559fec44d27f1294db2e9549af2fe38f1b3 SHA256 94b55a2ec67c524728d32249d59a6a1545fd37d61c83259b5f05163ca47e87e1 diff --git a/dev-java/nachocalendar/metadata.xml b/dev-java/nachocalendar/metadata.xml new file mode 100644 index 000000000000..a2ac2e03bfbd --- /dev/null +++ b/dev-java/nachocalendar/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>java</herd> +<maintainer> + <email>java@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/dev-java/nachocalendar/nachocalendar-0.23.ebuild b/dev-java/nachocalendar/nachocalendar-0.23.ebuild new file mode 100644 index 000000000000..3434fe8b805b --- /dev/null +++ b/dev-java/nachocalendar/nachocalendar-0.23.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/nachocalendar/nachocalendar-0.23.ebuild,v 1.1 2008/07/21 21:33:08 serkan Exp $ + +JAVA_PKG_IUSE="doc source test" + +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Flexible Calendar component to the Java Platform" +HOMEPAGE="http://nachocalendar.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.tar.bz2" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RDEPEND=">=virtual/jre-1.4" +DEPEND=">=virtual/jdk-1.4 + test? ( dev-java/junit )" + +src_unpack() { + unpack ${A} + cd "${S}" + rm -r doc || die + rm -v lib/* || die +} + +src_install() { + java-pkg_newjar lib/${P}.jar ${PN}.jar + java-pkg_newjar lib/${P}-demo.jar ${PN}-demo.jar + java-pkg_dolauncher nachocalendar-demo --main net.sf.nachocalendar.demo.CalendarDemo + dodoc {CHANGELOG,README,TODO}.txt || die + use doc && java-pkg_dojavadoc doc + use source && java-pkg_dosrc src/java/net +} + +src_test() { + cd src/test || die + ejavac -cp \ + "${S}/lib/${P}.jar:$(java-pkg_getjars --build-only junit)" \ + ./net/sf/nachocalendar/model/DefaultDataModelTest.java + ejavac -cp \ + "${S}/lib/${P}.jar:$(java-pkg_getjars --build-only junit)" \ + ./net/sf/nachocalendar/model/DefaultDateSelectionModelTest.java + ejunit -cp ".:${S}/lib/${P}.jar" \ + net.sf.nachocalendar.model.DefaultDataModelTest \ + net.sf.nachocalendar.model.DefaultDateSelectionModelTest +} |