summaryrefslogtreecommitdiff
path: root/packages/obsolete/classpath/classpath-gtk_cvs.bb
blob: 4d4895a319adac13381a6f62bcea6ab1447e936a (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
require classpath.inc

PR = "r2"

SRCDATE_${PN} ?= "20070501"
PV = "0.93+cvs${SRCDATE}"

### note from Laibsch: bug 2523 has information on how to build this package
DEPENDS = "glib-2.0 gtk+ cairo gconf virtual/javac-native zip-native virtual/java-native libxtst"
RDEPENDS_${PN} = "classpath-common (>= ${PV})"
RCONFLICTS_${PN} = "classpath-minimal"

SRC_URI = "cvs://anonymous@cvs.savannah.gnu.org/sources/classpath;module=classpath \
           file://disable-automake-checks-v2.patch;patch=1"

S = "${WORKDIR}/classpath"

EXTRA_OECONF = "--with-javac=${STAGING_BINDIR_NATIVE}/javac --with-ecj-jar=${STAGING_DATADIR_NATIVE}/ecj-bootstrap.jar --disable-plugin --disable-dssi --disable-alsa"

do_stage() {
	install -d ${STAGING_INCDIR}/classpath
	install -m 0755 include/jni* ${STAGING_INCDIR}/classpath/
	install -d ${STAGING_DATADIR}/classpath
	install -m 0755 lib/glibj.zip ${STAGING_DATADIR}/classpath/
}

do_install() {
	autotools_do_install
	mv ${D}${libdir}/security ${D}${libdir}/${PN}
}