summaryrefslogtreecommitdiff
path: root/packages/kxml2/kxml2_2.3.0.bb
blob: 1f7cf3d9fb7d73d2f394448560b8c9a7e3e9061f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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}"