aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-extended/xmlpull/xmlpull_1.1.3.4c.bb
blob: 4f8c9f896d271acd2ebb8ec6213828ad4ed1c540 (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
SUMMARY = "XML pull parser API"
HOMEPAGE = "http://www.xmlpull.org"
PRIORITY = "optional"
SECTION = "libs"
LICENSE = "PD"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f353e5a2416136a69a4a44ed3b761f65"

DEPENDS = "ant-native"

inherit java-library

S = "${WORKDIR}/${PN}_1_1_3_4c"

JAR = "${PN}-${PV}.jar"

SRC_URI = "\
    http://www.extreme.indiana.edu/xmlpull-website/v1/download/xmlpull_1_1_3_4c_src.tgz \
    "

do_compile() {
    ANT_OPTS="-Dfile.encoding=iso-8859-1" ant
}

do_install() {
    cp build/lib/${PN}_1_1_3_4c.jar ${JAR}
}

SRC_URI[md5sum] = "34c8a093e5678dd633411dfea88f8558"
SRC_URI[sha256sum] = "e17aa1a26119966258a3656a262bbba0f0b036eecb6d9bf192cf4b497686f4c3"