summaryrefslogtreecommitdiff
path: root/packages/classpath/classpath.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/classpath/classpath.inc')
-rw-r--r--packages/classpath/classpath.inc28
1 files changed, 28 insertions, 0 deletions
diff --git a/packages/classpath/classpath.inc b/packages/classpath/classpath.inc
new file mode 100644
index 0000000000..cbbab0ad16
--- /dev/null
+++ b/packages/classpath/classpath.inc
@@ -0,0 +1,28 @@
+DESCRIPTION = "GNU Classpath standard Java libraries"
+HOMEPAGE = "http://www.gnu.org/software/classpath/"
+LICENSE = "Classpath"
+PRIORITY = "optional"
+SECTION = "libs"
+
+PBN = "classpath"
+
+SRC_URI = "${GNU_MIRROR}/classpath/${PBN}-${PV}.tar.gz \
+ file://disable-automake-checks.patch;patch=1 \
+ file://fix-endian-arm-floats.patch;patch=1"
+
+S = ${WORKDIR}/${PBN}-${PV}
+
+inherit autotools
+
+do_stage() {
+ install -d ${STAGING_INCDIR}/classpath
+ install -m 0755 include/jni* ${STAGING_INCDIR}/classpath/
+}
+
+do_install() {
+ autotools_do_install
+ mv ${D}${libdir}/security ${D}${libdir}/${PBN}
+}
+
+PROVIDES = "classpath"
+RPROVIDES = "classpath"