diff options
Diffstat (limited to 'dev-java/shared-objects')
-rw-r--r-- | dev-java/shared-objects/Manifest | 1 | ||||
-rw-r--r-- | dev-java/shared-objects/files/build.xml | 20 | ||||
-rw-r--r-- | dev-java/shared-objects/metadata.xml | 10 | ||||
-rw-r--r-- | dev-java/shared-objects/shared-objects-1.4-r3.ebuild | 35 |
4 files changed, 66 insertions, 0 deletions
diff --git a/dev-java/shared-objects/Manifest b/dev-java/shared-objects/Manifest new file mode 100644 index 000000000000..be26b1cc0fda --- /dev/null +++ b/dev-java/shared-objects/Manifest @@ -0,0 +1 @@ +DIST shared-objects-1.4.tar.gz 45304 SHA256 dc4cbfb58b9ffd097a2fe663a333b32c76c87814eb6b3e8277b76ba6c8d1c4f1 SHA512 f051458244a88e44c249167bfad0f88f0efa971fdadc578efcb83ff5ea805356fc68250bb4511ec181b5a062b4aba69463f212e913cf96ba98bdd3966e219f39 WHIRLPOOL c0910f4e635f01b3194c06dbd6dfd0ac0b39be66c34a97fbe023bd316653160eef7997764b8d04c05fb1f77e3349e2fc7de904e47a5957966f74f150f56069ec diff --git a/dev-java/shared-objects/files/build.xml b/dev-java/shared-objects/files/build.xml new file mode 100644 index 000000000000..77d8d8db8c1e --- /dev/null +++ b/dev-java/shared-objects/files/build.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" standalone="yes"?> +<project basedir="." default="jar"> + <target name="compile"> + <mkdir dir="bin"/> + <mkdir dir="lib"/> + <javac srcdir="shared" destdir="bin"> + <include name="**/*.java"/> + <classpath> + <fileset dir="lib"> + <include name="**/*.jar"/> + </fileset> + </classpath> + </javac> + </target> + <target name="jar" depends="compile"> + <jar destfile="shared-objects.jar"> + <zipfileset dir="bin"/> + </jar> + </target> +</project> diff --git a/dev-java/shared-objects/metadata.xml b/dev-java/shared-objects/metadata.xml new file mode 100644 index 000000000000..f3335ded43dd --- /dev/null +++ b/dev-java/shared-objects/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> +<herd>java</herd> + +<longdescription> +A Java Class implementing a core factory for maximal sharing of arbitrary objects. +</longdescription> +</pkgmetadata> diff --git a/dev-java/shared-objects/shared-objects-1.4-r3.ebuild b/dev-java/shared-objects/shared-objects-1.4-r3.ebuild new file mode 100644 index 000000000000..4c9db6c79d7a --- /dev/null +++ b/dev-java/shared-objects/shared-objects-1.4-r3.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +JAVA_PKG_IUSE="source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="A Java Class implementing a core factory for maximal sharing of arbitrary objects" +HOMEPAGE="http://www.cwi.nl/htbin/sen1/twiki/bin/view/SEN1/ATermLibrary" +SRC_URI="http://www.cwi.nl/projects/MetaEnv/shared-objects/shared-objects-1.4.tar.gz" +LICENSE="LGPL-2.1" +SLOT="1" +KEYWORDS="amd64 ~ppc x86" + +DEPEND=">=virtual/jdk-1.4" +RDEPEND=">=virtual/jre-1.4" + +src_unpack() { + unpack ${A} + cp "${FILESDIR}/build.xml" "${S}" || die + + ( + echo "#! /bin/sh" + echo "java-config -p shared-objects-1" + ) > "${S}"/shared-objects-config +} + +src_install() { + java-pkg_dojar shared-objects.jar + dobin shared-objects-config || die + + dodoc AUTHORS ChangeLog || die + use source && java-pkg_dosrc "${S}/shared" +} |