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

}


FILES_${PN} = "${datadir}/java/${JAR}"