summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/classpath/classpath-minimal-native_0.95.bb5
-rw-r--r--packages/classpath/classpath-minimal.inc39
-rw-r--r--packages/classpath/classpath-minimal_0.95.bb40
-rw-r--r--packages/kxml2/.mtn2git_empty0
-rw-r--r--packages/kxml2/kxml2_2.3.0.bb31
5 files changed, 70 insertions, 45 deletions
diff --git a/packages/classpath/classpath-minimal-native_0.95.bb b/packages/classpath/classpath-minimal-native_0.95.bb
index c7716ed639..28b25a7cb9 100644
--- a/packages/classpath/classpath-minimal-native_0.95.bb
+++ b/packages/classpath/classpath-minimal-native_0.95.bb
@@ -3,6 +3,5 @@
# primary goal is to speed up building of java virtual machines
inherit native
-
-require classpath-minimal.inc
-
+require classpath-minimal_${PV}.bb
+PR = "r0"
diff --git a/packages/classpath/classpath-minimal.inc b/packages/classpath/classpath-minimal.inc
deleted file mode 100644
index 5a2587b56c..0000000000
--- a/packages/classpath/classpath-minimal.inc
+++ /dev/null
@@ -1,39 +0,0 @@
-DESCRIPTION = "GNU Classpath standard Java libraries"
-HOMEPAGE = "http://www.gnu.org/software/classpath/"
-SECTION = "libs"
-PRIORITY = "optional"
-LICENSE = "Classpath"
-PROVIDES = "classpath"
-RPROVIDES = "classpath"
-
-S = "${WORKDIR}/classpath-${PV}"
-
-SRC_URI = "${GNU_MIRROR}/classpath/classpath-${PV}.tar.gz"
-
-DEPENDS = "ecj-native zip-native"
-
-inherit autotools
-
-
-EXTRA_OECONF = "--with-glibj \
- --with-ecj=${STAGING_BINDIR_NATIVE}/ecj \
- --disable-alsa \
- --disable-gconf-peer \
- --disable-gtk-peer \
- --disable-plugin \
- --disable-dssi \
- --disable-examples \
- "
-do_install() {
- :
-}
-
-do_stage() {
- install -d ${STAGING_INCDIR}/classpath-minimal/
- install -m 0644 include/jni.h ${STAGING_INCDIR}/classpath-minimal/
- install -m 0644 include/jni_md.h ${STAGING_INCDIR}/classpath-minimal/
- install -d ${STAGING_LIBDIR}/java/classpath-minimal/
- install -m 0644 lib/glibj.zip ${STAGING_LIBDIR}/java/classpath-minimal/
-}
-
-PACKAGES = " "
diff --git a/packages/classpath/classpath-minimal_0.95.bb b/packages/classpath/classpath-minimal_0.95.bb
index e489a4efc9..3a4756094f 100644
--- a/packages/classpath/classpath-minimal_0.95.bb
+++ b/packages/classpath/classpath-minimal_0.95.bb
@@ -1,5 +1,39 @@
+DESCRIPTION = "GNU Classpath standard Java libraries"
+HOMEPAGE = "http://www.gnu.org/software/classpath/"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "Classpath"
+PROVIDES = "classpath"
+RPROVIDES = "classpath"
-# classpath-minimal-native has no packages
-# primary goal is to speed up building of java virtual machines
+S = "${WORKDIR}/classpath-${PV}"
-require classpath-minimal.inc
+SRC_URI = "${GNU_MIRROR}/classpath/classpath-${PV}.tar.gz"
+
+DEPENDS = "ecj-native zip-native"
+
+inherit autotools
+
+
+EXTRA_OECONF = "--with-glibj \
+ --with-ecj=${STAGING_BINDIR_NATIVE}/ecj \
+ --disable-alsa \
+ --disable-gconf-peer \
+ --disable-gtk-peer \
+ --disable-plugin \
+ --disable-dssi \
+ --disable-examples \
+ "
+do_install() {
+ :
+}
+
+do_stage() {
+ install -d ${STAGING_INCDIR}/classpath-minimal/
+ install -m 0644 include/jni.h ${STAGING_INCDIR}/classpath-minimal/
+ install -m 0644 include/jni_md.h ${STAGING_INCDIR}/classpath-minimal/
+ install -d ${STAGING_DATADIR}/java/classpath-minimal/
+ install -m 0644 lib/glibj.zip ${STAGING_DATADIR}/java/classpath-minimal/
+}
+
+PACKAGES = " "
diff --git a/packages/kxml2/.mtn2git_empty b/packages/kxml2/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/kxml2/.mtn2git_empty
diff --git a/packages/kxml2/kxml2_2.3.0.bb b/packages/kxml2/kxml2_2.3.0.bb
new file mode 100644
index 0000000000..1f7cf3d9fb
--- /dev/null
+++ b/packages/kxml2/kxml2_2.3.0.bb
@@ -0,0 +1,31 @@
+DESCRIPTION = "kxml2 is a small XML pull parser"
+HOMEPAGE = "http://kxml.sourceforge.net/"
+LICENSE = "BSD"
+PRIORITY = "optional"
+PR = "r0"
+
+SRC_URI = "http://downloads.sourceforge.net/kxml/kxml2-2.3.0.jar"
+
+JAR = ${PN}-${PV}.jar
+
+do_unpack() {
+ :
+}
+
+do_install() {
+
+install -d ${D}${datadir}/java
+install -m 0644 ${DL_DIR}/${JAR} ${D}${datadir}/java
+
+}
+
+do_stage() {
+
+install -d ${STAGING_DATADIR}/java
+install -m 0644 ${DL_DIR}/${JAR} ${STAGING_DATADIR}/java
+
+}
+
+PACKAGES = "${PN}"
+
+FILES_${PN} = "${datadir}/java/${JAR}"