classpath: fix compilation failure of classpath-gtk_cvs. Closes 2519.
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>
Tue, 19 Jun 2007 10:30:29 +0000 (10:30 +0000)
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>
Tue, 19 Jun 2007 10:30:29 +0000 (10:30 +0000)
* add libxtst to DEPENDS
* fix packaging
* move stuff to *.inc (unify)

packages/classpath/classpath-gtk_cvs.bb
packages/classpath/classpath.inc

index 690fb76..18d79de 100644 (file)
@@ -1,12 +1,12 @@
 require classpath.inc
 
-PR = "r1"
+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 ecj-native zip-native virtual/java-native"
+DEPENDS = "glib-2.0 gtk+ cairo gconf ecj-native zip-native virtual/java-native libxtst"
 RDEPENDS_${PN} = "classpath-common (>= ${PV})"
 RCONFLICTS_${PN} = "classpath-minimal"
 
@@ -17,15 +17,6 @@ S = "${WORKDIR}/classpath"
 
 EXTRA_OECONF = "--with-ecj=${STAGING_BINDIR_NATIVE}/ecj --with-ecj-jar=${STAGING_BINDIR_NATIVE}/ecj.jar --disable-plugin --disable-dssi --disable-alsa"
 
-PACKAGES = "classpath-dev classpath-doc classpath-common classpath-examples classpath-tools ${PN}"
-
-FILES_classpath-doc = "${datadir}/info ${datadir}/man"
-FILES_classpath-dev = "${includedir}"
-FILES_${PN} = "${libdir} ${bindir}"
-FILES_classpath-common = "${datadir}/classpath/glibj.zip"
-FILES_classpath-examples = "${datadir}/classpath/examples"
-FILES_classpath-tools = "${datadir}/classpath/tools.zip"
-
 do_stage() {
        install -d ${STAGING_INCDIR}/classpath
        install -m 0755 include/jni* ${STAGING_INCDIR}/classpath/
index 1d684c0..db75d52 100644 (file)
@@ -28,3 +28,16 @@ FILES_classpath-common += "${datadir}/classpath/glibj.zip"
 FILES_classpath-examples += "${datadir}/classpath/examples"
 FILES_classpath-tools += "${datadir}/classpath/tools.zip ${datadir}/classpath/tools"
 FILES_classpath-dev += "${libdir}/*.so"
+FILES_classpath-dbg += "${libdir}/classpath/.debug"
+
+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}
+}