From: Vlastimil Babka Date: Tue, 24 Apr 2007 23:23:43 +0000 (+0000) Subject: Initial ebuild, bug #166599. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1a402b51770bb0c4d813241269e36c8509865d97;p=gentoo.git Initial ebuild, bug #166599. Package-Manager: portage-2.1.2.4 --- 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 +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..b5bf13608b85 --- /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 1314 RMD160 e488be2695d54b7aa7f53d91e74237a8c2832e5b SHA1 8e512ed4473d60b52346c76ae879c5e483b9736a SHA256 f1411276d42cc787ad92da5cdb913e8e81b9dc1240fbb2bf2080ebbbd8062307 +MD5 89e218c17ac2182c2c1862059c3fc556 jempbox-0.2.0.ebuild 1314 +RMD160 e488be2695d54b7aa7f53d91e74237a8c2832e5b jempbox-0.2.0.ebuild 1314 +SHA256 f1411276d42cc787ad92da5cdb913e8e81b9dc1240fbb2bf2080ebbbd8062307 jempbox-0.2.0.ebuild 1314 +MISC ChangeLog 341 RMD160 9267ae9b3349249fe1d7046aeec37cc65ee97dc2 SHA1 bf2017ec214e20dae7084f3ae9c129909cc1360b SHA256 c4b510b2384369cbd9ceaf9491e876711598d197fcacbe48abc370c8d5c7c043 +MD5 14205ed5ea2e3ab993184198abd23944 ChangeLog 341 +RMD160 9267ae9b3349249fe1d7046aeec37cc65ee97dc2 ChangeLog 341 +SHA256 c4b510b2384369cbd9ceaf9491e876711598d197fcacbe48abc370c8d5c7c043 ChangeLog 341 +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 + 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 @@ + + + +java +