checksums.ini: add checksum for pengutronix canutils
[openembedded.git] / packages / midpath / midpath-opengles_0.2+0.3rc2.bb
blobfbfe719b57ce58b89f3d7679792fd0fbc6ec232a
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-jgl"
10 RDEPENDS_${PN} = "midpath-core midpath-jgl ${PN}-core ${PN}-nio"
12 DESCRIPTION = "Implementation of the JSR239 OpenGL ES API for use in the MIDPath library"
14 JAR = "jsr239-opengles-jgl.jar"
15 JAR2 = "jsr239-opengles-core.jar"
16 JAR3 = "jsr239-opengles-nio.jar"
18 do_compile() {
19 # Only OpenGL ES API is enabled.
20 midpath_build \
21 --disable-midpath \
22 --disable-cldc \
23 --disable-sdljava-cldc \
24 --disable-escher-cldc \
25 --disable-jlayerme-cldc \
26 --disable-jorbis-cldc \
27 --disable-jgl-cldc \
28 --disable-avetanabt-cldc \
29 --disable-web_services-api \
30 --disable-location-api \
31 --disable-messaging-api \
32 --disable-svg-api \
33 --disable-m3g-api \
34 --disable-demos \
35 --with-jgl-cldc-jar=${STAGING_DATADIR}/midpath/jgl-cldc.jar
38 do_install() {
39 install -d ${D}${datadir}/midpath
40 install -m 0644 dist/${JAR} ${D}${datadir}/midpath
41 install -m 0644 dist/${JAR2} ${D}${datadir}/midpath
42 install -m 0644 dist/${JAR3} ${D}${datadir}/midpath
45 do_stage() {
46 install -d ${STAGING_DATADIR}/midpath
47 install -m 0644 dist/${JAR} ${STAGING_DATADIR}/midpath
48 install -m 0644 dist/${JAR2} ${STAGING_DATADIR}/midpath
49 install -m 0644 dist/${JAR3} ${STAGING_DATADIR}/midpath
52 PACKAGES = "${PN} ${PN}-core ${PN}-nio"
54 FILES_${PN} = "${datadir}/midpath/${JAR}"
55 FILES_${PN}-core = "${datadir}/midpath/${JAR2}"
56 FILES_${PN}-nio = "${datadir}/midpath/${JAR3}"