diff options
4 files changed, 67 insertions, 4 deletions
diff --git a/dev-java/jgoodies-binding/files/digest-jgoodies-binding-1.0.3 b/dev-java/jgoodies-binding/files/digest-jgoodies-binding-1.0.3 index 2951a5719d74..3d03b3d767e6 100644 --- a/dev-java/jgoodies-binding/files/digest-jgoodies-binding-1.0.3 +++ b/dev-java/jgoodies-binding/files/digest-jgoodies-binding-1.0.3 @@ -1 +1,3 @@ MD5 46855527948927390438e496594a309a binding-1_0_3.zip 1142957 +RMD160 2ecb0853e7a181b2936d125594b1ce38178a6a7e binding-1_0_3.zip 1142957 +SHA256 e86e5b84cea25cedc993232cc28519455fcedad56e2841dff80e8b329367a151 binding-1_0_3.zip 1142957 diff --git a/dev-java/jgoodies-binding/files/digest-jgoodies-binding-1.1.2 b/dev-java/jgoodies-binding/files/digest-jgoodies-binding-1.1.2 new file mode 100644 index 000000000000..73fd08f05207 --- /dev/null +++ b/dev-java/jgoodies-binding/files/digest-jgoodies-binding-1.1.2 @@ -0,0 +1,3 @@ +MD5 700ef2d85f3afc307b9136e02bf6a5de binding-1_1_2.zip 1265099 +RMD160 87cbf16880ed3bd65b6d85b43432146e64310fbb binding-1_1_2.zip 1265099 +SHA256 dcefcf854c9cfad7281ba86f767191ab657a0e34afe83075c96925fb44cf2958 binding-1_1_2.zip 1265099 diff --git a/dev-java/jgoodies-binding/jgoodies-binding-1.1.2.ebuild b/dev-java/jgoodies-binding/jgoodies-binding-1.1.2.ebuild new file mode 100644 index 000000000000..75ff534c115f --- /dev/null +++ b/dev-java/jgoodies-binding/jgoodies-binding-1.1.2.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jgoodies-binding/jgoodies-binding-1.1.2.ebuild,v 1.1 2007/01/10 21:43:12 betelgeuse Exp $ + +inherit java-pkg-2 java-ant-2 + +MY_V=${PV//./_} +DESCRIPTION="A Java library to bind object properties with UI components" +HOMEPAGE="http://www.jgoodies.com/" +SRC_URI="http://www.jgoodies.com/download/libraries/binding-${MY_V}.zip" + +LICENSE="BSD" +SLOT="1.0" +KEYWORDS="~x86" +IUSE="doc examples source" + +COMMON_DEP=">=dev-java/jgoodies-looks-1.0.5" +DEPEND=">=virtual/jdk-1.4.2 + ${COMMON_DEP} + dev-java/ant-core + app-arch/unzip + source? ( app-arch/zip )" +RDEPEND=">=virtual/jre-1.4.2 + ${COMMON_DEP}" + +S=${WORKDIR}/binding-${PV} + +src_unpack() { + unpack ${A} + cd "${S}" + + # Clean up the directory structure + rm -rvf *.jar lib + + # Copy the Gentoo'ized build.xml + # cp ${FILESDIR}/build-${PV}.xml ${S} + xml-rewrite.py -f build.xml -d -e javac -a bootclasspath \ + || die "Failed to fix bootclasspath" +} +src_compile() { + eant jar # precompile javadocs +} + +RESTRICT="test" +# Needs X +#src_test() { +# eant test -D\ +# -Djunit.jar=$(java-pkg_getjar junit junit.jar) +#} + +src_install() { + java-pkg_dojar build/binding.jar + + dodoc RELEASE-NOTES.txt + dohtml README.html + use doc && java-pkg_dohtml -r docs/* + use source && java-pkg_dosrc src/core/* + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins -r src/tutorial/com + fi +} diff --git a/dev-java/jgoodies-binding/metadata.xml b/dev-java/jgoodies-binding/metadata.xml index 6d3bc19df8b7..fa29e527abcb 100644 --- a/dev-java/jgoodies-binding/metadata.xml +++ b/dev-java/jgoodies-binding/metadata.xml @@ -2,10 +2,6 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>java</herd> - <maintainer> - <email>compnerd@gentoo.org</email> - <name>Saleem Abdulrasool</name> - </maintainer> <longdescription lang="en"> A library to bind object properties to UI components. </longdescription> |