summaryrefslogtreecommitdiff
path: root/recipes/classpath/inetlib_1.1.1.bb
blob: 1fba4b4e7cc1adedf2ae163ab9514f00b2b89348 (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
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;patch=1 \
  "

inherit java-library autotools

DEPENDS = "fastjar-native"

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
}