summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2010-07-06 19:22:55 +0000
committerVlastimil Babka <caster@gentoo.org>2010-07-06 19:22:55 +0000
commitb1e3535deb352309ab9c5844483eb2aee0601b4a (patch)
tree1217f59cd7e096677fea3b9fb067c7423e89174a /dev-java
parentUse PYTHON_DEPEND instead of NEED_PYTHON. (diff)
downloadhistorical-b1e3535deb352309ab9c5844483eb2aee0601b4a.tar.gz
historical-b1e3535deb352309ab9c5844483eb2aee0601b4a.tar.bz2
historical-b1e3535deb352309ab9c5844483eb2aee0601b4a.zip
Cleanup.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/gnu-classpath/Manifest19
-rw-r--r--dev-java/jamvm/ChangeLog7
-rw-r--r--dev-java/jamvm/Manifest10
-rw-r--r--dev-java/jamvm/files/classes-location.patch27
-rw-r--r--dev-java/jamvm/files/jamvm-1.5.0.env13
-rw-r--r--dev-java/jamvm/files/jamvm.env11
-rw-r--r--dev-java/jamvm/jamvm-1.4.2.ebuild36
-rw-r--r--dev-java/jamvm/jamvm-1.5.0-r3.ebuild96
-rw-r--r--dev-java/jamvm/jamvm-1.5.4.ebuild96
9 files changed, 8 insertions, 307 deletions
diff --git a/dev-java/gnu-classpath/Manifest b/dev-java/gnu-classpath/Manifest
index 7896b023645a..383e1784d96a 100644
--- a/dev-java/gnu-classpath/Manifest
+++ b/dev-java/gnu-classpath/Manifest
@@ -1,22 +1,5 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX 0.93-nsplugin.patch 1518 RMD160 b82f191cd788dce09745ca17042499f278d0b695 SHA1 3e7f7e77b30aa330abafc7f2d6d1a4fe4ce7d801 SHA256 6919f6291d674a7ebabb6e31fd5e3416394287be00a0cec2dbc8365b70302d97
-DIST classpath-0.97-gentoo.tar.gz 10261662 RMD160 01ef33c4e50b5c88bfe2f59d9249110072d3764e SHA1 22b2ac2444b73df841e07c36c4e6621ab9a06d3f SHA256 5f0619b26fe3e0cded3e76a09be4004db62f5bcd198c041da2bd619cc633200e
-DIST classpath-0.97.2.tar.gz 10318014 RMD160 a33667d2b692da22cb872c57265511115a543a76 SHA1 627e9781f9bb744b1a70e4aaff88d2d0440cbf1f SHA256 001fee5ad3ddd043783d59593153510f09064b0d9b5aea82f535266f62f02db4
DIST classpath-0.98.tar.gz 11021342 RMD160 9a20f4ca9379d90cbca644c0e9410df1c57575a5 SHA1 1d6e8d1b3542a35bbd1013c61fab3cfae083decb SHA256 501b5acd4dff79b6100da22cef15080f31071821ce3cea6f1b739bc1b56fac3f
-EBUILD gnu-classpath-0.97-r1.ebuild 3328 RMD160 77ab116ab1becdae397da51ad52b467cbcab33da SHA1 550f15eddc152264f91c7e341983014a8fe8e7af SHA256 29063968b1781f8b9c58bb63fecb0ebbe6ba75bfe59bfd3adb481a632e185d63
-EBUILD gnu-classpath-0.97.2-r1.ebuild 2575 RMD160 e445f0a02803d7611f758479da74cce069a09a60 SHA1 376f66f144c72bc6b0b949d2c2ccd4d44b172568 SHA256 b2b1b0dba936f547f58d6e8b83156fc27c87ba998ad759253dc0069d06432fb3
-EBUILD gnu-classpath-0.97.2.ebuild 2466 RMD160 ce91f0c2b1ae1c587089c53de2f071d9c654b261 SHA1 3fd757ac28bc5ead5a2d26d91c07a17e704d7d25 SHA256 abdc1461b65a910e64f62a4bf31e1854301828d424a18bb616a1a4f5d5781f69
-EBUILD gnu-classpath-0.98-r1.ebuild 3202 RMD160 6127dee309aaa3eb7e4beba4e89d284340b858b8 SHA1 d92b319decc7437f86f4f5c6cc1f78e14c5ff3ed SHA256 af87a80c7fb3548c0b8b7230ea0c1372cccaada8c2f278d13177933d40cde311
EBUILD gnu-classpath-0.98-r2.ebuild 3201 RMD160 945a71d84d878b9345741c3586116f96acd46aa3 SHA1 6ab458010f17743e2a5c6618f829364a92e19f52 SHA256 5515c2599c2a21a9b0a1e5c7ac614d12b5e98bac81e387b513d24e9e829254ce
EBUILD gnu-classpath-0.98-r3.ebuild 3293 RMD160 efe858939f29bd88d113a93e0eb3dd7816b2f387 SHA1 2b91e6afe165c9b737e09ef54420662a07a174fe SHA256 2d433767407bf8b4d90271e9c1fb8d43f67f4f68bd582cfd5cc5c4350017b4c9
-MISC ChangeLog 17164 RMD160 733930cdfd65a1ad838a1c803e0d59c4a6959a6c SHA1 6a98a03ebd8f1a53ab80f0663f0d46dcb162fea6 SHA256 94461675fa06c0d69f3aa2a88c9bb38b1e4dfc22f9ce2b91a196fd0938fee6c7
+MISC ChangeLog 17424 RMD160 8339bcd36bfabf75cddf4dc03cfd58a18f7f5544 SHA1 9aedb769c080e602cb37c3fefd3484daa9138e74 SHA256 97ddbbd2d264252090dc7aa2fcc8dcd38f151df41134dbf96e167bcbebda6017
MISC metadata.xml 759 RMD160 c3f604690ab9414b5d0c58fb74e1d85be10723be SHA1 1a83518e46e13aba75a83f0793e7db52b725867a SHA256 24e294a08d57473d495a67acdcc44c0f32747187531feeb72dfa678731cd51d2
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.15 (GNU/Linux)
-
-iEYEARECAAYFAkwnn3YACgkQCaWpQKGI+9QwRACghJnFuBjGhPobZUVis/5CCKYl
-I8AAn3PH32zCUhTqRh1yTZf/TB6cyvtH
-=G0/C
------END PGP SIGNATURE-----
diff --git a/dev-java/jamvm/ChangeLog b/dev-java/jamvm/ChangeLog
index 024cd229d6b1..edd2ad2d2417 100644
--- a/dev-java/jamvm/ChangeLog
+++ b/dev-java/jamvm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/jamvm
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jamvm/ChangeLog,v 1.44 2010/07/05 17:22:22 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jamvm/ChangeLog,v 1.45 2010/07/06 19:22:55 caster Exp $
+
+ 06 Jul 2010; Vlastimil Babka <caster@gentoo.org> -jamvm-1.4.2.ebuild,
+ -jamvm-1.5.0-r3.ebuild, -files/jamvm-1.5.0.env, -jamvm-1.5.4.ebuild,
+ -files/classes-location.patch, -files/jamvm.env:
+ Cleanup.
05 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> jamvm-1.4.2.ebuild:
Drop ppc64 wrt #168736, Comment #17
diff --git a/dev-java/jamvm/Manifest b/dev-java/jamvm/Manifest
index bdace5a0187d..890d9c2a378c 100644
--- a/dev-java/jamvm/Manifest
+++ b/dev-java/jamvm/Manifest
@@ -1,13 +1,5 @@
-AUX classes-location.patch 1184 RMD160 7ab849c181808d61bba64ed1a98a575ac14da4fd SHA1 632e5a2785435e95da534ea1c8a0d75004016083 SHA256 c973ef294f31c2937a55d5f683dc3ee2623877439b777093663e4f6367a791b1
-AUX jamvm-1.5.0.env 382 RMD160 e3a4953826ea66d17aed7b07795929949ebd6c6e SHA1 ab86a7bc601672b47afa7bb259edec0942248c10 SHA256 0b4930e4636771ec76ea053c64064b0fe1ab64d477ac365f88fcd70dc95ed7d7
AUX jamvm-1.5.4-r1.env 353 RMD160 a9af0011b56fbb64ca9693c4a8b40fe03f851e6b SHA1 aa3300ba5d45cf0e95e943dca1069be0b85d60d1 SHA256 d4efccfae8d232ae923b41f5f8d547141751975e4b9506243f433fdde6fb8668
-AUX jamvm.env 331 RMD160 33e990fb7c22f310cc9c4ce678a67f3f8062ade1 SHA1 c60faaf90d26c45ceaaf1a84d2b476aed7adb048 SHA256 dca8067931277eb7e919c820d83e3dcfaa46d9c70103f2c023e83eb04b45bd92
-DIST jamvm-1.4.2.tar.gz 285593 RMD160 ca9d26f90dd04e5aaefb1c33dda59a4f41456e31 SHA1 cfda95e52261d58e535a0c8ec03878304e9560c7 SHA256 dae915b7f963762385df2f4660eaad497261fa72393ba69339530e5b0b5d8bc3
-DIST jamvm-1.5.0.tar.gz 594250 RMD160 cfe80de1e2895df177b054cc622df2ed8e51feb9 SHA1 35b29d09635ec95efdee4eaab815c4bbf4130147 SHA256 18b269b1bfad7230384681e89189c6af18584e19cddbf92208c0acef814046ab
DIST jamvm-1.5.4.tar.gz 656283 RMD160 7aa2a3d28c0d953c0d0048a3f8c48dc274ae10a0 SHA1 26863c78d5b0dfcc1a1492d24af58d192831b510 SHA256 7865693698bc4322cabe1014a4b7ebdec1bc1daf45f1a4457b6e908a4446b124
-EBUILD jamvm-1.4.2.ebuild 1054 RMD160 2763967a5a8fbc393982b5999e67e2f45882ddd6 SHA1 77ff2e15499fc88fc0e214911f814134c01f80e3 SHA256 04f46624b4c1b468410d0c6dc1e187955b6cda1175e08749b35646a3c644fd8c
-EBUILD jamvm-1.5.0-r3.ebuild 2409 RMD160 64a49cbf070dd40aa45e8204ab16d9c8339853b8 SHA1 bb2b5288332ee817192a60c97b52c635604ed71b SHA256 69b8e33d4472418ed5407bb5b71052bca019eae4f55cbe886765a84206d01ecc
EBUILD jamvm-1.5.4-r1.ebuild 2728 RMD160 f1ed2ced1bb0f989376220fb0b717fb8de658135 SHA1 71837be968863b47399753b0f0f3a3122b35d101 SHA256 3ac5c49552213cb434a5c6b12038e35e63076291543e44b19bef3c3350146d4b
-EBUILD jamvm-1.5.4.ebuild 2411 RMD160 3c584b43a46768cfd91395ab0e946d3ef5da3a28 SHA1 df68641bad907c6d7b713b65a01aa828beaa53f3 SHA256 588933a917246fdc835ecf673d562d12062071d9a98bf16e7c40a2a6c8f6aacb
-MISC ChangeLog 6496 RMD160 1ec098e063934cedc6126e165235469ca438fdb8 SHA1 b240ea035e4f1f4ebf572c2a53be1bd9ba24a04e SHA256 7232efe942703b87c507e28480ee97d6ba1573585dc4a5b63bd1d5fdaa69fa02
+MISC ChangeLog 6699 RMD160 857f6c2e7612e2df26583e8b2ab0dad5188c6bbc SHA1 9ac11562a22ebd332d40c7b49410f0d13aeb9d39 SHA256 55796e17cadb9e93255014952f0f3e5f7fd7181c4eaf40b4d7b53bce1f8bed8a
MISC metadata.xml 250 RMD160 768ed9ef97f57c25c39ed3bd46a88b44e104526e SHA1 ec1919e99fc0395f90a0aff91ce77bf13c95d399 SHA256 380eb6d01f833fe0077b518b8f4b9230baf88fa61463de48ff6c672755edd442
diff --git a/dev-java/jamvm/files/classes-location.patch b/dev-java/jamvm/files/classes-location.patch
deleted file mode 100644
index 57d046a81882..000000000000
--- a/dev-java/jamvm/files/classes-location.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff -ur jamvm-1.5.0.old/configure.ac jamvm-1.5.0/configure.ac
---- jamvm-1.5.0.old/configure.ac 2008-03-03 17:31:46.000000000 +0200
-+++ jamvm-1.5.0/configure.ac 2008-03-03 17:36:14.000000000 +0200
-@@ -208,6 +208,7 @@
- install_dir=$prefix
- fi
- AC_DEFINE_UNQUOTED(INSTALL_DIR, "$install_dir", [Installation directory (prefix)])
-+AC_DEFINE_UNQUOTED(PKGDATADIR, "$datadir/$PACKAGE", [Package data directory (pkgdatadir)])
-
- AC_ARG_ENABLE(zip,
- [AS_HELP_STRING(--disable-zip,turn-off zip support in the bootstrap loader)],,)
-diff -ur jamvm-1.5.0.old/src/class.h jamvm-1.5.0/src/class.h
---- jamvm-1.5.0.old/src/class.h 2008-03-03 17:31:46.000000000 +0200
-+++ jamvm-1.5.0/src/class.h 2008-03-03 17:36:51.000000000 +0200
-@@ -39,10 +39,10 @@
- separate class files in a directory structure */
-
- #ifdef USE_ZIP
--#define JAMVM_CLASSES INSTALL_DIR"/share/jamvm/classes.zip"
-+#define JAMVM_CLASSES PKGDATADIR"/classes.zip"
- #define CLASSPATH_CLASSES CLASSPATH_INSTALL_DIR"/share/classpath/glibj.zip"
- #else
--#define JAMVM_CLASSES INSTALL_DIR"/share/jamvm/classes"
-+#define JAMVM_CLASSES PKGDATADIR"/classes"
- #define CLASSPATH_CLASSES CLASSPATH_INSTALL_DIR"/share/classpath"
- #endif
-
diff --git a/dev-java/jamvm/files/jamvm-1.5.0.env b/dev-java/jamvm/files/jamvm-1.5.0.env
deleted file mode 100644
index a0d7fb769ea3..000000000000
--- a/dev-java/jamvm/files/jamvm-1.5.0.env
+++ /dev/null
@@ -1,13 +0,0 @@
-VERSION="JamVM @PV@"
-JAVA_HOME=/opt/@PN@
-BOOTCLASSPATH="/opt/jamvm/classes.zip:/opt/gnu-classpath-0.97/share/classpath/glibj.zip"
-JDK_HOME=/opt/@PN@
-JAVAC=${JAVA_HOME}/bin/javac
-PATH="${JAVA_HOME}/bin"
-ROOTPATH="${JAVA_HOME}/bin"
-PROVIDES_TYPE="JDK JRE"
-PROVIDES_VERSION="1.5"
-GENERATION="2"
-ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH"
-GENTOO_COMPILER="ecj-3.3"
-LDPATH="/opt/@PN@/lib"
diff --git a/dev-java/jamvm/files/jamvm.env b/dev-java/jamvm/files/jamvm.env
deleted file mode 100644
index 19120fbbea21..000000000000
--- a/dev-java/jamvm/files/jamvm.env
+++ /dev/null
@@ -1,11 +0,0 @@
-VERSION="JamVM @PV@"
-JAVA_HOME=/opt/@P@
-BOOTCLASSPATH="/usr/share/classpath/glibj.zip"
-JDK_HOME=/opt/@P@
-JAVAC=${JAVA_HOME}/bin/javac
-PATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
-ROOTPATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
-PROVIDES_TYPE="JDK JRE"
-PROVIDES_VERSION="1.4"
-GENERATION="2"
-ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH"
diff --git a/dev-java/jamvm/jamvm-1.4.2.ebuild b/dev-java/jamvm/jamvm-1.4.2.ebuild
deleted file mode 100644
index 2b391060e55b..000000000000
--- a/dev-java/jamvm/jamvm-1.4.2.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jamvm/jamvm-1.4.2.ebuild,v 1.5 2010/07/05 17:22:22 ssuominen Exp $
-
-inherit eutils flag-o-matic
-
-DESCRIPTION="An extremely small and specification-compliant virtual machine."
-HOMEPAGE="http://jamvm.sourceforge.net/"
-SRC_URI="mirror://sourceforge/jamvm/jamvm-${PV}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~ppc x86"
-IUSE="debug"
-
-DEPEND=">=dev-java/gnu-classpath-0.19"
-RDEPEND="${DEPEND}"
-
-src_compile() {
- filter-flags "-fomit-frame-pointer"
-
- # configure adds "/share/classpath" itself
- # includedir puts jni.h in a package dependent folder
- local myc="--with-classpath-install-dir=/usr
- --includedir=/usr/include/${PN}"
- use debug && myc="${myc} --enable-trace"
- econf ${myc} || die "configure failed."
- emake || die "make failed."
-}
-
-src_install() {
- make install DESTDIR="${D}" || die "installation failed."
-
- dodoc ACKNOWLEDGEMENTS AUTHORS ChangeLog NEWS README \
- || die "dodoc failed"
-}
diff --git a/dev-java/jamvm/jamvm-1.5.0-r3.ebuild b/dev-java/jamvm/jamvm-1.5.0-r3.ebuild
deleted file mode 100644
index bcd3f0bd50c4..000000000000
--- a/dev-java/jamvm/jamvm-1.5.0-r3.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jamvm/jamvm-1.5.0-r3.ebuild,v 1.7 2009/07/19 13:45:51 nixnut Exp $
-
-EAPI=2
-
-inherit autotools eutils flag-o-matic multilib java-vm-2
-
-DESCRIPTION="An extremely small and specification-compliant virtual machine."
-HOMEPAGE="http://jamvm.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="debug libffi"
-
-CLASSPATH_SLOT=0.97
-RDEPEND="dev-java/gnu-classpath:${CLASSPATH_SLOT}
- libffi? ( virtual/libffi )
- amd64? ( virtual/libffi )"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig"
-PDEPEND="dev-java/ant-eclipse-ecj:3.3
- dev-java/gjdoc"
-
-src_prepare() {
- epatch "${FILESDIR}/classes-location.patch"
- eautoreconf
-
- # These come precompiled.
- # configure script uses detects the compiler
- # from PATH. I guess we should compile this from source.
- # Then just make sure not to hit
- # https://bugs.gentoo.org/show_bug.cgi?id=163801
- #rm -v lib/classes.zip || die
-}
-
-CLASSPATH_DIR=/opt/gnu-classpath-${CLASSPATH_SLOT}
-
-src_configure() {
- local myconf
-
- filter-flags "-fomit-frame-pointer"
-
- if use libffi; then
- append-cflags "$(pkg-config --cflags-only-I libffi)"
- fi
-
- if use amd64; then
- append-cflags "$(pkg-config --cflags-only-I libffi)"
- myconf="--enable-ffi"
- fi
-
- # Keep libjvm.so out of /usr
- # http://bugs.gentoo.org/show_bug.cgi?id=181896
- econf \
- $(use_enable debug trace) \
- --prefix=/opt/${PN} \
- --bindir=/usr/bin \
- --datadir=/opt \
- $(use_enable libffi ffi) \
- --disable-dependency-tracking \
- --with-classpath-install-dir=${CLASSPATH_DIR} \
- ${myconf}
-}
-
-create_launcher() {
- local script="${D}/opt/${PN}/bin/${1}"
- cat > "${script}" <<-EOF
-#!/bin/sh
-exec /usr/bin/jamvm \
- -Xbootclasspath/p:"${CLASSPATH_DIR}/share/classpath/tools.zip" \
- gnu.classpath.tools.${1}.Main "\$@"
-EOF
- chmod +x "${script}"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "installation failed."
-
- dodoc ACKNOWLEDGEMENTS AUTHORS ChangeLog NEWS README \
- || die "dodoc failed"
-
- set_java_env "${FILESDIR}/${PN}-1.5.0.env"
-
- local bindir=/opt/${PN}/bin
- dodir ${bindir}
- dosym /usr/bin/jamvm ${bindir}/java
- dosym /usr/bin/ecj-3.3 ${bindir}/javac
- dosym /usr/bin/gjdoc ${bindir}/javadoc
- for file in ${CLASSPATH_DIR}/bin/*; do
- base=$(basename ${file})
- create_launcher ${base#g}
- done
-}
diff --git a/dev-java/jamvm/jamvm-1.5.4.ebuild b/dev-java/jamvm/jamvm-1.5.4.ebuild
deleted file mode 100644
index c4fa580222d7..000000000000
--- a/dev-java/jamvm/jamvm-1.5.4.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jamvm/jamvm-1.5.4.ebuild,v 1.1 2010/03/27 17:55:53 ali_bush Exp $
-
-EAPI=2
-
-inherit autotools eutils flag-o-matic multilib java-vm-2
-
-DESCRIPTION="An extremely small and specification-compliant virtual machine."
-HOMEPAGE="http://jamvm.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="debug libffi"
-
-CLASSPATH_SLOT=0.97
-RDEPEND="dev-java/gnu-classpath:${CLASSPATH_SLOT}
- libffi? ( virtual/libffi )
- amd64? ( virtual/libffi )"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig"
-PDEPEND="dev-java/ant-eclipse-ecj:3.3
- dev-java/gjdoc"
-
-src_prepare() {
- epatch "${FILESDIR}/classes-location.patch"
- eautoreconf
-
- # These come precompiled.
- # configure script uses detects the compiler
- # from PATH. I guess we should compile this from source.
- # Then just make sure not to hit
- # https://bugs.gentoo.org/show_bug.cgi?id=163801
- #rm -v lib/classes.zip || die
-}
-
-CLASSPATH_DIR=/opt/gnu-classpath-${CLASSPATH_SLOT}
-
-src_configure() {
- local myconf
-
- filter-flags "-fomit-frame-pointer"
-
- if use libffi; then
- append-cflags "$(pkg-config --cflags-only-I libffi)"
- fi
-
- if use amd64; then
- append-cflags "$(pkg-config --cflags-only-I libffi)"
- myconf="--enable-ffi"
- fi
-
- # Keep libjvm.so out of /usr
- # http://bugs.gentoo.org/show_bug.cgi?id=181896
- econf \
- $(use_enable debug trace) \
- --prefix=/opt/${PN} \
- --bindir=/usr/bin \
- --datadir=/opt \
- $(use_enable libffi ffi) \
- --disable-dependency-tracking \
- --with-classpath-install-dir=${CLASSPATH_DIR} \
- ${myconf}
-}
-
-create_launcher() {
- local script="${D}/opt/${PN}/bin/${1}"
- cat > "${script}" <<-EOF
-#!/bin/sh
-exec /usr/bin/jamvm \
- -Xbootclasspath/p:"${CLASSPATH_DIR}/share/classpath/tools.zip" \
- gnu.classpath.tools.${1}.Main "\$@"
-EOF
- chmod +x "${script}"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "installation failed."
-
- dodoc ACKNOWLEDGEMENTS AUTHORS ChangeLog NEWS README \
- || die "dodoc failed"
-
- set_java_env "${FILESDIR}/${PN}-1.5.0.env"
-
- local bindir=/opt/${PN}/bin
- dodir ${bindir}
- dosym /usr/bin/jamvm ${bindir}/java
- dosym /usr/bin/ecj-3.3 ${bindir}/javac
- dosym /usr/bin/gjdoc ${bindir}/javadoc
- for file in ${CLASSPATH_DIR}/bin/*; do
- base=$(basename ${file})
- create_launcher ${base#g}
- done
-}