summaryrefslogtreecommitdiff
path: root/recipes/classpath/inetlib_1.1.1.bb
blob: 9377d6dccffde4a99a2df531a1b916466112a49d (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
DESCRIPTION = "A Java library of clients for common internet protocols"
LICENSE = "GPL + library exception"
AUTHOR = "GNU Classpath"
HOMEPAGE = "http://gnu.org/software/classpath/inetlib.html"

SRC_URI = "\
  http://ftp.gnu.org/gnu/classpath/${BP}.tar.gz \
  file://datadir_java.patch \
  "

inherit java-library autotools

DEPENDS = "fastjar-native"

PR = "r1"

JPN = "libgnuinet-java"

export JAVAC = "javac"

export JAVA = "java"

# We fake this, it is not neccessary anyway.
export JAVADOC = "true"

do_compile() {
  oe_runmake JARDIR=${datadir_java} inetlib_jar=${JARFILENAME}
}

do_install_append() {
  java_install
}

SRC_URI[md5sum] = "aaa24be4bc8d172ac675be8bdfa636ee"
SRC_URI[sha256sum] = "1b078a39e022f86e4e2c8189b4d2789a5da414e8f1cb285587b7800b950a44de"

NATIVE_INSTALL_WORKS = "1"
BBCLASSEXTEND = "native"