summaryrefslogtreecommitdiff
path: root/recipes/jakarta-libs/regexp_1.5.bb
blob: bc82225a859510eb8fd726e4c665ed182e52f263 (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
DESCRIPTION = "Java Regular Expression package"
LICENSE = "AL2.0"
AUTHOR = "Apache Software Foundation"

SRC_URI = "http://archive.apache.org/dist/jakarta/regexp/source/jakarta-${BP}.tar.gz"

inherit java-library

S = "${WORKDIR}/jakarta-${BP}"

DEPENDS = "fastjar-native"

PR = "r1"

do_compile() {
  mkdir -p build

  javac -sourcepath src/java -d build `find src/java -name \*.java`

  fastjar -C build -c -f ${JARFILENAME} .
}

SRC_URI[md5sum] = "b941b8f4de297827f3211c2cb34af199"
SRC_URI[sha256sum] = "79e80af8cbeb68ddad75a1aa6244d7acd62176bfd69bcdc0640d11177dcde97d"

NATIVE_INSTALL_WORKS = "1"
BBCLASSEXTEND = "native"