summaryrefslogtreecommitdiff
path: root/packages/classpath
diff options
context:
space:
mode:
authorOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2008-09-25 12:31:11 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2008-09-25 12:31:11 +0000
commit18b8a107ca4f903a486988b9562c8055ada1c018 (patch)
treea8c9019724f4f3c55b6b59b8259439ce5ec885e9 /packages/classpath
parent627c4ce3d477576fcf1f13949341c9894f913061 (diff)
parentf98bbbba774cd1fa5c4d320639617218bc74b987 (diff)
merge of '0c1609602324e53bbaa1c371330798fbeb1adaec'
and '4375f1c5c294da70172d3a0d99da040cb85d66fd'
Diffstat (limited to 'packages/classpath')
-rw-r--r--packages/classpath/classpath-minimal-0.97.2/.mtn2git_empty0
-rw-r--r--packages/classpath/classpath-minimal-0.97.2/autotools.patch13
-rw-r--r--packages/classpath/classpath-minimal_0.97.2.bb2
-rw-r--r--packages/classpath/classpath-native-0.97.2/.mtn2git_empty0
-rw-r--r--packages/classpath/classpath-native-0.97.2/autotools.patch13
-rw-r--r--packages/classpath/classpath-native.inc10
-rw-r--r--packages/classpath/classpath-tools-native.bb7
7 files changed, 14 insertions, 31 deletions
diff --git a/packages/classpath/classpath-minimal-0.97.2/.mtn2git_empty b/packages/classpath/classpath-minimal-0.97.2/.mtn2git_empty
deleted file mode 100644
index e69de29bb2..0000000000
--- a/packages/classpath/classpath-minimal-0.97.2/.mtn2git_empty
+++ /dev/null
diff --git a/packages/classpath/classpath-minimal-0.97.2/autotools.patch b/packages/classpath/classpath-minimal-0.97.2/autotools.patch
deleted file mode 100644
index e36e143b5f..0000000000
--- a/packages/classpath/classpath-minimal-0.97.2/autotools.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: classpath-0.97.2/configure.ac
-===================================================================
---- classpath-0.97.2.orig/configure.ac 2008-06-06 02:58:57.000000000 +0200
-+++ classpath-0.97.2/configure.ac 2008-08-02 00:58:16.537364104 +0200
-@@ -41,6 +41,8 @@
- AC_CONFIG_HEADERS([include/config.h])
- AC_PREFIX_DEFAULT(/usr/local/classpath)
-
-+AC_CONFIG_MACRO_DIR([m4])
-+
- dnl -----------------------------------------------------------
- dnl Enable collections.jar (disabled by default)
- dnl -----------------------------------------------------------
diff --git a/packages/classpath/classpath-minimal_0.97.2.bb b/packages/classpath/classpath-minimal_0.97.2.bb
index 44cffcec32..e03dc85760 100644
--- a/packages/classpath/classpath-minimal_0.97.2.bb
+++ b/packages/classpath/classpath-minimal_0.97.2.bb
@@ -1,5 +1,7 @@
require classpath.inc
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/${PBN}-${PV}"
+
SRC_URI += "\
file://netif_16.patch;patch=1;pnum=0 \
file://SimpleName.diff;patch=1;pnum=0 \
diff --git a/packages/classpath/classpath-native-0.97.2/.mtn2git_empty b/packages/classpath/classpath-native-0.97.2/.mtn2git_empty
deleted file mode 100644
index e69de29bb2..0000000000
--- a/packages/classpath/classpath-native-0.97.2/.mtn2git_empty
+++ /dev/null
diff --git a/packages/classpath/classpath-native-0.97.2/autotools.patch b/packages/classpath/classpath-native-0.97.2/autotools.patch
deleted file mode 100644
index e36e143b5f..0000000000
--- a/packages/classpath/classpath-native-0.97.2/autotools.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: classpath-0.97.2/configure.ac
-===================================================================
---- classpath-0.97.2.orig/configure.ac 2008-06-06 02:58:57.000000000 +0200
-+++ classpath-0.97.2/configure.ac 2008-08-02 00:58:16.537364104 +0200
-@@ -41,6 +41,8 @@
- AC_CONFIG_HEADERS([include/config.h])
- AC_PREFIX_DEFAULT(/usr/local/classpath)
-
-+AC_CONFIG_MACRO_DIR([m4])
-+
- dnl -----------------------------------------------------------
- dnl Enable collections.jar (disabled by default)
- dnl -----------------------------------------------------------
diff --git a/packages/classpath/classpath-native.inc b/packages/classpath/classpath-native.inc
index 060dd3f540..d178ce6779 100644
--- a/packages/classpath/classpath-native.inc
+++ b/packages/classpath/classpath-native.inc
@@ -2,15 +2,15 @@ DESCRIPTION = "GNU Classpath standard Java libraries - For native Java-dependent
HOMEPAGE = "http://www.gnu.org/software/classpath/"
LICENSE = "Classpath"
-S = "${WORKDIR}/classpath-${PV}"
-
-SRC_URI = "${GNU_MIRROR}/classpath/classpath-${PV}.tar.gz"
-
+inherit autotools native
DEPENDS = "ecj-initial fastjar-native zip-native gettext-native"
-inherit autotools native
+SRC_URI = "${GNU_MIRROR}/classpath/classpath-${PV}.tar.gz"
+
+S = "${WORKDIR}/classpath-${PV}"
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/classpath-${PV}"
do_configure_prepend () {
diff --git a/packages/classpath/classpath-tools-native.bb b/packages/classpath/classpath-tools-native.bb
new file mode 100644
index 0000000000..df5df33407
--- /dev/null
+++ b/packages/classpath/classpath-tools-native.bb
@@ -0,0 +1,7 @@
+# Java recipes which need gjar, gjavah and so on need to depend on this
+# recipe.
+# This makes sure we not only have the tools' bytecode but also a proper
+# interpreter that can run it.
+DESCRIPTION = "Provides working jar, javah etc. from the GNU Classpath project"
+
+DEPENDS = "virtual/java-native classpath-native"