summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-java/shared-objects
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-java/shared-objects')
-rw-r--r--dev-java/shared-objects/Manifest1
-rw-r--r--dev-java/shared-objects/files/build.xml20
-rw-r--r--dev-java/shared-objects/metadata.xml10
-rw-r--r--dev-java/shared-objects/shared-objects-1.4-r3.ebuild35
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"
+}