Revert "angstrom-2010.x.conf: Prefer binutils 2.21 and uclibc-git"
[openembedded.git] / recipes / midpath / midpath-m3g_0.2+0.3rc2.bb
blob46c6ffebbbbb5181825b7514e702f13e00392b43
1 require midpath-common.inc
3 PR = "r0"
5 SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz"
7 S = "${WORKDIR}/midpath-0.3rc2"
9 DEPENDS += "midpath-core midpath-opengles"
11 DESCRIPTION = "Implementation of the JSR184 Mobile 3D Graphics API for use in the MIDPath library"
13 JAR = "jsr184-m3g.jar"
15 do_compile() {
16 # Only M3G API is enabled.
17 midpath_build \
18 --disable-midpath \
19 --disable-cldc \
20 --disable-sdljava-cldc \
21 --disable-escher-cldc \
22 --disable-jlayerme-cldc \
23 --disable-jorbis-cldc \
24 --disable-avetanabt-cldc \
25 --disable-jgl-cldc \
26 --disable-web_services-api \
27 --disable-location-api \
28 --disable-messaging-api \
29 --disable-svg-api \
30 --disable-opengl-api \
31 --disable-demos \
32 --with-opengles-core-jar=${STAGING_DATADIR}/midpath/jsr239-opengles-core.jar \
33 --with-opengles-nio-jar=${STAGING_DATADIR}/midpath/jsr239-opengles-nio.jar
36 do_install() {
37 install -d ${D}${datadir}/midpath
38 install -m 0644 dist/${JAR} ${D}${datadir}/midpath
41 do_stage() {
42 install -d ${STAGING_DATADIR}/midpath
43 install -m 0644 dist/${JAR} ${STAGING_DATADIR}/midpath
46 PACKAGES = "${PN}"
48 FILES_${PN} = "${datadir}/midpath/${JAR}"
50 SRC_URI[md5sum] = "d03cd88f51f82bbcfcfa5b65df0da5b0"
51 SRC_URI[sha256sum] = "e235ca7470e7cdfb90e3806fbcc1b2c450db286276136a2523c7ae26a804a100"