blob: 3eab0f6d576835d4dce2577707386e5985962dbd (
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
41
42
43
44
45
46
47
48
49
50
51
|
DESCRIPTION = "GNU's free implementation of the JavaMail API specification"
LICENSE = "GPL + library exception"
AUTHOR = "GNU ClasspathX"
SRC_URI = "\
http://ftp.gnu.org/gnu/classpathx/mail-${PV}.tar.gz \
file://datadir_java.patch \
"
inherit java-library autotools
S = "${WORKDIR}/mail-${PV}"
DEPENDS = "fastjar-native gnujaf inetlib"
DEPENDS_virtclass-native = "fastjar-native gnujaf-native inetlib-native"
PR = "r1"
export JAVAC = "${STAGING_BINDIR_NATIVE}/javac"
export JAVA = "${STAGING_BINDIR_NATIVE}/java"
# Fake javadoc
export JAVADOC = "true"
EXTRA_OECONF = "\
--with-inetlib-jar=${STAGING_DATADIR_JAVA} \
--with-activation-jar=${STAGING_DATADIR_JAVA} \
"
do_compile() {
oe_runmake \
JARDIR=${datadir_java} \
gnumail_jar=${JARFILENAME} \
providers_jar=${P}-providers.jar
}
do_install() {
java_install
oe_jarinstall ${P}-providers.jar ${PN}-providers.jar
}
do_stage() {
java_stage
oe_jarinstall -s ${P}-providers.jar ${PN}-providers.jar
}
SRC_URI[md5sum] = "0a94ff4328ceb6a4131be96946976a33"
SRC_URI[sha256sum] = "5eb09597a8f81bfc943206e3e0f45b963ba605a646051c353374f1b475bb9f04"
NATIVE_INSTALL_WORKS = "1"
BBCLASSEXTEND = "native"
|