summaryrefslogtreecommitdiff
path: root/packages/kxml2
diff options
context:
space:
mode:
authorHenning Heinold <heinold@inf.fu-berlin.de>2007-08-21 19:22:01 +0000
committerHenning Heinold <heinold@inf.fu-berlin.de>2007-08-21 19:22:01 +0000
commit6976ef3671005647502a9d7cbd37ca551cb5f538 (patch)
treea872b386e74b23ebde3f5eedda541f5dc1524772 /packages/kxml2
parent878334ee57dd75727547daba08ee4315d75bc506 (diff)
kxml2: adding recipe for kxml2
Diffstat (limited to 'packages/kxml2')
-rw-r--r--packages/kxml2/.mtn2git_empty0
-rw-r--r--packages/kxml2/kxml2_2.3.0.bb31
2 files changed, 31 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..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}"