merge of '2b1cc78c259b50ef47b34d85e4f6717f64d1d093'
[openembedded.git] / packages / classpath / classpath.inc
1 DESCRIPTION = "GNU Classpath standard Java libraries"
2 HOMEPAGE = "http://www.gnu.org/software/classpath/"
3 SECTION = "libs"
4 PRIORITY = "optional"
5 LICENSE = "Classpath"
6 PROVIDES = "classpath"
7 RPROVIDES = "classpath"
8
9 SRC_URI = "${GNU_MIRROR}/classpath/classpath-${PV}.tar.gz \
10            file://disable-automake-checks.patch;patch=1 \
11            file://gconf_version.patch;patch=1 \
12            file://fix-endian-arm-floats.patch;patch=1"
13
14 inherit autotools
15
16 do_stage() {
17         install -d ${STAGING_INCDIR}/classpath
18         install -m 0755 include/jni* ${STAGING_INCDIR}/classpath/
19 }
20
21 do_install() {
22         autotools_do_install
23         mv ${D}${libdir}/security ${D}${libdir}/${PN}
24 }
25
26 PACKAGES =+ "classpath-common classpath-examples classpath-tools"
27 FILES_classpath-common += "${datadir}/classpath/glibj.zip"
28 FILES_classpath-examples += "${datadir}/classpath/examples"
29 FILES_classpath-tools += "${datadir}/classpath/tools.zip ${datadir}/classpath/tools"
30 FILES_classpath-dev += "${libdir}/*.so"