summaryrefslogtreecommitdiff
path: root/packages/kxml2
diff options
context:
space:
mode:
Diffstat (limited to 'packages/kxml2')
-rw-r--r--packages/kxml2/.mtn2git_empty0
-rw-r--r--packages/kxml2/kxml2_2.3.0.bb33
2 files changed, 33 insertions, 0 deletions
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..284aa1af6d
--- /dev/null
+++ b/packages/kxml2/kxml2_2.3.0.bb
@@ -0,0 +1,33 @@
+DESCRIPTION = "kxml2 is a small XML pull parser"
+HOMEPAGE = "http://kxml.sourceforge.net/"
+LICENSE = "BSD"
+PRIORITY = "optional"
+PR = "r0"
+
+
+JAR = ${PN}-${PV}.jar
+
+SRC_URI = "http://downloads.sourceforge.net/kxml/${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}"