summaryrefslogtreecommitdiff
path: root/packages/classpath/classpath-minimal_0.95.bb
blob: cb38710ac19f15d082b4817ed7883c435d826562 (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
32
33
34
35
36
37
38
39
40
DESCRIPTION = "GNU Classpath standard Java libraries"
HOMEPAGE = "http://www.gnu.org/software/classpath/"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "Classpath"
PROVIDES = "classpath"
RPROVIDES = "classpath"
PR = "r1"

S = "${WORKDIR}/classpath-${PV}"

SRC_URI = "${GNU_MIRROR}/classpath/classpath-${PV}.tar.gz"

DEPENDS = "virtual/javac-native zip-native"

inherit autotools


EXTRA_OECONF = "--with-glibj \
                --with-javac=${STAGING_BINDIR_NATIVE}/javac \
                --disable-alsa \
                --disable-gconf-peer \
                --disable-gtk-peer \
                --disable-plugin \
                --disable-dssi \
                --disable-examples \
               "
do_install() {
        :
}

do_stage() {
        install -d ${STAGING_INCDIR}/classpath-minimal/
        install -m 0644 include/jni.h ${STAGING_INCDIR}/classpath-minimal/
        install -m 0644 include/jni_md.h ${STAGING_INCDIR}/classpath-minimal/
        install -d ${STAGING_DATADIR}/java/classpath-minimal/
        install -m 0644 lib/glibj.zip ${STAGING_DATADIR}/java/classpath-minimal/
}

PACKAGES = " "