anchor.diff:  SECTION = "libs"
   LICENSE = "LGPL-2.1 & AFL-2.1"
   
  -DEPENDS = "libmatthew docbook-utils-native docbook-sgml-dtd-4.1-native fastjar-native"
  +DEPENDS = "libmatthew gettext-native fastjar-native"
   RDEPENDS_${PN}-viewer = "java2-runtime libunixsocket-java ${PN}-bin libmatthew-debug-java ${JPN}"
   RDEPENDS_${PN}-bin = "java2-runtime libunixsocket-java libmatthew-debug-java ${JPN}"
   RSUGGESTS_${JPN} = "libunixsocket-java"
  
positive.code:   install bin/CreateInterface ${D}${bindir}
    install bin/ListDBus ${D}${bindir}
    install bin/DBusDaemon ${D}${bindir}
  
  	oe_runmake \
  		JAVAC="oefatal \"No Java compilation expected here.\"" \
  		JAR="oefatal \"No jar invocation expected here.\"" \
  		MANPREFIX=${D}${mandir} \
  		DOCPREFIX=${D}${docdir}/${JPN} \
  		install-man
  }
  
  # ${JPN} must be last otherwise it would pick up dbus-viewer*.jar
  # and dbus-bin*.jar
  PACKAGES = "${PN}-viewer ${PN}-viewer-doc ${PN}-bin ${PN}-bin-doc ${JPN}"
  
  FILES_${PN}-viewer = "${datadir}/java/dbus-java-viewer*.jar ${bindir}/DBusViewer"
  FILES_${PN}-viewer-doc = "${mandir}/DBusViewer*"
  FILES_${PN}-bin = "${datadir}/java/dbus-java-bin*.jar ${bindir}"
  FILES_${PN}-bin-doc = "${mandir} ${docdir}/${JPN}"
  
negative.code: 		JAVAUNIXJARDIR=${datadir_java} \
  		JAVAUNIXLIBDIR=${libdir_jni} \
  		bin
  }
  
  JARFILENAME = "${JPN}-${PV}.jar"
  