diff options
author | Henning Heinold <heinold@inf.fu-berlin.de> | 2013-04-05 10:54:17 +0200 |
---|---|---|
committer | Henning Heinold <heinold@inf.fu-berlin.de> | 2013-04-05 11:40:35 +0200 |
commit | 8ace2edc1db86aa4f780084c3b64fff3ebc25602 (patch) | |
tree | df8ff581032e8961d45e6b4a92d3d5bb440648cb /recipes-extended/xmlpull/xmlpull_1.1.3.4c.bb | |
parent | 499e44455e1c37f89dfb9be9e8a970c26e1311d0 (diff) | |
download | meta-java-8ace2edc1db86aa4f780084c3b64fff3ebc25602.tar.gz |
xmlpull: import package from oe-classic
* switch to ant build
* use diffrent download server, original website does not
have the latest tarball anymore
Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
Diffstat (limited to 'recipes-extended/xmlpull/xmlpull_1.1.3.4c.bb')
-rw-r--r-- | recipes-extended/xmlpull/xmlpull_1.1.3.4c.bb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-extended/xmlpull/xmlpull_1.1.3.4c.bb b/recipes-extended/xmlpull/xmlpull_1.1.3.4c.bb new file mode 100644 index 0000000..16d7a42 --- /dev/null +++ b/recipes-extended/xmlpull/xmlpull_1.1.3.4c.bb | |||
@@ -0,0 +1,30 @@ | |||
1 | DESCRIPTION = "XML pull parser API" | ||
2 | HOMEPAGE = "http://www.xmlpull.org" | ||
3 | PRIORITY = "optional" | ||
4 | SECTION = "libs" | ||
5 | LICENSE = "PD" | ||
6 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f353e5a2416136a69a4a44ed3b761f65" | ||
7 | |||
8 | DEPENDS = "ant-native" | ||
9 | |||
10 | inherit java-library | ||
11 | |||
12 | S = "${WORKDIR}/${PN}_1_1_3_4c" | ||
13 | |||
14 | JAR = "${PN}-${PV}.jar" | ||
15 | |||
16 | SRC_URI = "\ | ||
17 | http://www.extreme.indiana.edu/xmlpull-website/v1/download/xmlpull_1_1_3_4c_src.tgz \ | ||
18 | " | ||
19 | |||
20 | do_compile() { | ||
21 | ANT_OPTS="-Dfile.encoding=iso-8859-1" ant | ||
22 | } | ||
23 | |||
24 | do_install() { | ||
25 | cp build/lib/${PN}_1_1_3_4c.jar ${JAR} | ||
26 | } | ||
27 | |||
28 | SRC_URI[md5sum] = "34c8a093e5678dd633411dfea88f8558" | ||
29 | SRC_URI[sha256sum] = "e17aa1a26119966258a3656a262bbba0f0b036eecb6d9bf192cf4b497686f4c3" | ||
30 | |||