summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/rjava/ChangeLog16
-rw-r--r--dev-java/rjava/Manifest4
-rw-r--r--dev-java/rjava/metadata.xml13
-rw-r--r--dev-java/rjava/rjava-0.5.1.ebuild146
4 files changed, 0 insertions, 179 deletions
diff --git a/dev-java/rjava/ChangeLog b/dev-java/rjava/ChangeLog
deleted file mode 100644
index 540815555335..000000000000
--- a/dev-java/rjava/ChangeLog
+++ /dev/null
@@ -1,16 +0,0 @@
-# ChangeLog for dev-java/rjava
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/rjava/ChangeLog,v 1.2 2008/02/04 03:41:10 nerdboy Exp $
-
- 04 Feb 2008; Steve Arnold <nerdboy@gentoo.org> rjava-0.5.1.ebuild:
- Updated string quoting and cleaned up shell syntax; note emake does *not*
- work here...
-
-*rjava-0.5.1 (01 Oct 2007)
-
- 01 Oct 2007; Steve Arnold <nerdboy@gentoo.org> +metadata.xml,
- +rjava-0.5.1.ebuild:
- Initial import of rjava, the Java-R interface. Note that building an R
- package in portage is a little weird, but works. Recommend all external
- R packages (if any) be installed under site-library.
-
diff --git a/dev-java/rjava/Manifest b/dev-java/rjava/Manifest
deleted file mode 100644
index ac109d65967b..000000000000
--- a/dev-java/rjava/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-DIST rJava_0.5-1.tar.gz 226783 RMD160 354f7752a547b0ac24cf535c3e09579b266cc6c9 SHA1 22c8a068cda394b72216309a7e0a0c51757517ad SHA256 dc46959b52b9014d05d2f7ce101984124c0cb51190adfb4b65454846a0914c59
-EBUILD rjava-0.5.1.ebuild 3851 RMD160 f1460f9c6c35817a63356cdf91eeb44674b9874a SHA1 ffbd6f6c5084c8ad41ae67957956d90fec1092f0 SHA256 eff98ea738f22e041a870b0b86b69f968c1c29a6b19f8affe9d9c51e1e281ebe
-MISC ChangeLog 683 RMD160 aa5c5c084babffd82ff43f4ee01354f6056fe9ed SHA1 7f481cc4046ad2f91ce0f8f3699e664a2702ffee SHA256 effb8d07d3d20ccccbe44285657445d4c7f2cd695193d044b0a91384af3ee363
-MISC metadata.xml 608 RMD160 98a89fdf94e409c22893cc19e3700c8330d57688 SHA1 b0d1e7475373d57d0c7a96c327fbaf7eeea8d40f SHA256 73860a49b7c97e5788449dee0a53688a5235bb364a7b42a7a104231e549890ff
diff --git a/dev-java/rjava/metadata.xml b/dev-java/rjava/metadata.xml
deleted file mode 100644
index 1b4f63ba0d6d..000000000000
--- a/dev-java/rjava/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>sci</herd>
-<longdescription lang="en">
-rJava is a simple R-to-Java interface. It is comparable to the .C/.Call C
-interface. rJava provides a low-level bridge between R and Java (via JNI).
-In a sense the inverse of rJava is JRI (Java/R Interface) which provides
-the opposite direction - calling R from Java. JRI is now shipped as a part
-of the rJava package, although it still can be used as a separate entity
-(especially for development).
-</longdescription>
-</pkgmetadata>
diff --git a/dev-java/rjava/rjava-0.5.1.ebuild b/dev-java/rjava/rjava-0.5.1.ebuild
deleted file mode 100644
index 8d94660c1270..000000000000
--- a/dev-java/rjava/rjava-0.5.1.ebuild
+++ /dev/null
@@ -1,146 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/rjava/rjava-0.5.1.ebuild,v 1.2 2008/02/04 03:41:10 nerdboy Exp $
-
-JAVA_PKG_IUSE="examples"
-
-inherit eutils java-pkg-2 versionator
-
-MY_PN=rJava
-MY_PV=$(replace_version_separator 2 '-' )
-MY_P=${MY_PN}_${MY_PV}
-S=${WORKDIR}/${MY_PN}
-
-DESCRIPTION="The current rJava interface (also includes JRI)"
-HOMEPAGE="http://www.rforge.net/rJava/"
-SRC_URI="http://www.rforge.net/${MY_PN}/snapshot/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE=""
-
-COMMON_DEP=">=dev-lang/R-2.5.0"
-
-RDEPEND=">=virtual/jre-1.5
- ${COMMON_DEP}"
-
-DEPEND=">=virtual/jdk-1.5
- ${COMMON_DEP}"
-
-pkg_setup() {
- java-pkg-2_pkg_setup
-
- if use x86; then
- jvmarch=i386
- else
- jvmarch=${ARCH}
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- setup-jvm-opts
-}
-
-src_compile() {
- export R_HOME="/usr/$(get_libdir)/R"
-
- # use R's check command to test package (really needs to come before
- # the src_compile section)
- if has test ${FEATURES}; then
- cd "${WORKDIR}"
- R CMD check ${MY_PN}
- fi
-
- cd "${S}"
- local my_conf="--enable-jri"
- econf ${my_conf} || die "econf failed"
- cd src/
- # emake bombs here
- make -f Makevars all || die "make failed"
-}
-
-src_install() {
- export R_LIBS_SITE="${R_HOME}/site-library"
- keepdir ${R_LIBS_SITE}
- cd "${WORKDIR}"
- R CMD INSTALL --no-configure -l "${D}${R_LIBS_SITE}" ${MY_PN} \
- || die "install failed"
- cd "${S}"
-
- local jri_dir="/usr/$(get_libdir)/jri"
- java-pkg_jarinto ${jri_dir}
- java-pkg_dojar inst/jri/JRI.jar
-
- insinto ${jri_dir}
- insopts -m0755
- doins inst/jri/libjri.so || die "libjri install failed"
- java-pkg_regso "${D}${jri_dir}/libjri.so"
-
- echo "R_HOME=${R_HOME}">25rjava
- echo "LD_LIBRARY_PATH=${R_HOME}/lib:${JAVA_LIB_DIR}">>25rjava
- echo "R_INCLUDE_DIR=${R_HOME}/include">>25rjava
- echo "R_SHARE_DIR=${R_HOME}/share">>25rjava
- echo "R_DOC_DIR=${R_HOME}/doc">>25rjava
-
- insopts -m0644
- doenvd 25rjava
-
- dodoc NEWS
- newdoc jri/README README.jri
- use examples && java-pkg_doexamples jri/examples
-}
-
-setup-jvm-opts() {
- # Figure out correct boot classpath
- # stolen from eclipse-sdk ebuild
- local bp="$(java-config --jdk-home)/jre/lib"
- local bootclasspath=$(java-config --runtime)
- if java-config --java-version | grep -q IBM ; then
- # IBM JDK
- JAVA_LIB_DIR="$(java-config --jdk-home)/jre/bin"
- else
- # Sun derived JDKs (Blackdown, Sun)
- JAVA_LIB_DIR="$(java-config --jdk-home)/jre/lib/${jvmarch}"
- fi
-
- einfo "Using bootclasspath ${bootclasspath}"
- einfo "Using JVM library path ${JAVA_LIB_DIR}"
-
- if [[ ! -f ${JAVA_LIB_DIR}/libawt.so ]] ; then
- die "Could not find libawt.so native library"
- fi
-
- export AWT_LIB_PATH=${JAVA_LIB_DIR}
-}
-
-pkg_postinst () {
- elog
- elog "The rJava package also includes the JRI tools, so rJava now"
- elog "provides both sides of the overall interface. The rJava piece"
- elog "is installed as an R package, while JRI is composed of the .jar"
- elog "file and libjri.so, which are registered with the Java packaging"
- elog "tools."
- elog
- elog "Some documentation on JRI can be found in the usual place,"
- elog "along with the internal R docs in various formats."
- elog
- elog "Note: JRI is also installed under the R site-library dir."
- elog "(see the 'run' script installed with the R package for one"
- elog "way to run the JRI examples, however, the environment setup"
- elog "should be taken care of by the java eclass functions and the"
- elog "env.d file installed by the ebuild)."
- elog
- elog "http://www.rforge.net/rJava/index.html"
- elog "The above URL is the correct home page for the current rJava release."
- elog "The sourceforge page called RJava is old and no longer maintained."
- elog
-
- ewarn "Please perform"
- ewarn " env-update"
- ewarn " source /etc/profile"
- ewarn "prior to using JRI."
- elog
-}