summaryrefslogtreecommitdiff
path: root/recipes/jakarta-libs/oro_2.0.8.bb
blob: 72d73fe3c890ef5748910ec813dbfad72d0d6cc1 (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 = "Perl5-compatible regular expressions library for Java"
LICENSE = "AL2.0"
AUTHOR = "Apache Software Foundation"

SRC_URI = "http://www.apache.org/dist/jakarta/oro/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} org
}

SRC_URI[md5sum] = "6f7690c6ba9750e3cbb8ebd10078a79a"
SRC_URI[sha256sum] = "4c4f3c7c479994c3ce09f542d4fbdc03eed58a2d7f320d32f2baf238b5b6f566"

NATIVE_INSTALL_WORKS = "1"
BBCLASSEXTEND = "native"