diff options
Diffstat (limited to 'dev-java/jempbox')
-rw-r--r-- | dev-java/jempbox/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/jempbox/Manifest | 16 | ||||
-rw-r--r-- | dev-java/jempbox/files/digest-jempbox-0.2.0 | 3 | ||||
-rw-r--r-- | dev-java/jempbox/jempbox-0.2.0.ebuild | 60 | ||||
-rw-r--r-- | dev-java/jempbox/metadata.xml | 5 |
5 files changed, 93 insertions, 0 deletions
diff --git a/dev-java/jempbox/ChangeLog b/dev-java/jempbox/ChangeLog new file mode 100644 index 000000000000..5127f17aa8fd --- /dev/null +++ b/dev-java/jempbox/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-java/jempbox +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jempbox/ChangeLog,v 1.1 2007/04/24 23:23:43 caster Exp $ + +*jempbox-0.2.0 (24 Apr 2007) + + 24 Apr 2007; Vlastimil Babka <caster@gentoo.org> +jempbox-0.2.0.ebuild: + Initial ebuild, bug #166599. + diff --git a/dev-java/jempbox/Manifest b/dev-java/jempbox/Manifest new file mode 100644 index 000000000000..74ca73c398c9 --- /dev/null +++ b/dev-java/jempbox/Manifest @@ -0,0 +1,16 @@ +DIST JempBox-0.2.0.zip 6131627 RMD160 9407e9cf3c58920a7c6d34f04343fbf9e3e7abb4 SHA1 0561f3d580dcb48fd1962a02e20562186ac9d8b5 SHA256 a4c6def91c31aaae4b8ee4b3f9ecebef73fce2f608bf7fc906a89a9bef17978e +EBUILD jempbox-0.2.0.ebuild 1312 RMD160 c067449b9b59fd3701154f2fe5bc828e4cc46874 SHA1 40e7f97b20fe9a9051bf3aa9c1155cc072c3c8af SHA256 f9d85721760dae98fca8a0c838cfdb9d29f9689760c6c25e66778be477a7bbe5 +MD5 c0ce0a9206a88d6d18432078522dcd22 jempbox-0.2.0.ebuild 1312 +RMD160 c067449b9b59fd3701154f2fe5bc828e4cc46874 jempbox-0.2.0.ebuild 1312 +SHA256 f9d85721760dae98fca8a0c838cfdb9d29f9689760c6c25e66778be477a7bbe5 jempbox-0.2.0.ebuild 1312 +MISC ChangeLog 253 RMD160 30ef73160c79e185ef6f18b0bf5a09956c7e936b SHA1 248b550773153154798ed2a24022bc47c746a2bc SHA256 92fd115ec0735b47f8394ad7f628082d3c28b7035fecccb53402e6a7611160b3 +MD5 b3f00dabf7b93224b379c92456205023 ChangeLog 253 +RMD160 30ef73160c79e185ef6f18b0bf5a09956c7e936b ChangeLog 253 +SHA256 92fd115ec0735b47f8394ad7f628082d3c28b7035fecccb53402e6a7611160b3 ChangeLog 253 +MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 +MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 +RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 metadata.xml 157 +SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 metadata.xml 157 +MD5 3c54f0a14c11eb79ffd8a5d847599d8d files/digest-jempbox-0.2.0 235 +RMD160 31b2bc3d927cc02e54beca9844e2b892cc6f18bf files/digest-jempbox-0.2.0 235 +SHA256 761200595351d22b8c810f597b35f494250a3bc7198a9391b96d307d718912db files/digest-jempbox-0.2.0 235 diff --git a/dev-java/jempbox/files/digest-jempbox-0.2.0 b/dev-java/jempbox/files/digest-jempbox-0.2.0 new file mode 100644 index 000000000000..144c809d7894 --- /dev/null +++ b/dev-java/jempbox/files/digest-jempbox-0.2.0 @@ -0,0 +1,3 @@ +MD5 fa743897205e085b04ad4bfc8cf6fe67 JempBox-0.2.0.zip 6131627 +RMD160 9407e9cf3c58920a7c6d34f04343fbf9e3e7abb4 JempBox-0.2.0.zip 6131627 +SHA256 a4c6def91c31aaae4b8ee4b3f9ecebef73fce2f608bf7fc906a89a9bef17978e JempBox-0.2.0.zip 6131627 diff --git a/dev-java/jempbox/jempbox-0.2.0.ebuild b/dev-java/jempbox/jempbox-0.2.0.ebuild new file mode 100644 index 000000000000..33a8a1c7e2ac --- /dev/null +++ b/dev-java/jempbox/jempbox-0.2.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jempbox/jempbox-0.2.0.ebuild,v 1.1 2007/04/24 23:23:43 caster Exp $ + +JAVA_PKG_IUSE="doc source test" +WANT_ANT_TASKS="ant-nodeps" +inherit java-pkg-2 java-ant-2 + +MY_PN="JempBox" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Java library that implements Adobe's XMP specification" +HOMEPAGE="http://www.jempbox.org" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +RDEPEND=">=virtual/jre-1.4" +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + test? ( dev-java/ant-junit =dev-java/junit-3* )" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd "${S}" + + rm -v lib/*.jar + rm -rf docs/javadoc + + if use test; then + java-ant_xml-rewrite -f build.xml --change -e junit \ + -a haltonfailure -v true + cd lib + java-pkg_jar-from --build-only junit + else + # no way to separate building of tests in build.xml + # at least it doesn't include them in <jar> + rm -rf src/test + fi +} + +EANT_BUILD_TARGET="package" + +src_test() { + ANT_TASKS="ant-junit" eant junit +} + +src_install() { + java-pkg_newjar lib/${MY_P}.jar + + if use doc; then + dohtml -r docs/* + java-pkg_dojavadoc website/build/site/javadoc + fi + + use source && java-pkg_dosrc src/org +} diff --git a/dev-java/jempbox/metadata.xml b/dev-java/jempbox/metadata.xml new file mode 100644 index 000000000000..838c00a4a448 --- /dev/null +++ b/dev-java/jempbox/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> |