anchor.diff:  DEBIANNAME_libplumb-dev = "libplumb2-dev"
   DEBIANNAME_libpils-dev = "libpils2-dev"
   DEBIANNAME_libstonith-dev = "libstonith1-dev"
  +
  +# follow debian/control
  +RDEPENDS_${PN} += "libtimedate-perl liblrm libpils libplumb libplumbgpl libstonith"
  
positive.code: PR = "r0"
  
  inherit debian-package
  
  LICENSE = "GPLv2 | LGPLv2.1 | BSD | PD"
  LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
  
  DEPENDS = "libxml2 libtool glib-2.0 bzip2 util-linux libxslt"
  
  inherit autotools pkgconfig
  
  SRC_URI_append = " \
      file://0001-don-t-compile-doc-and-Error-Fix.patch \
  "
  
  EXTRA_OECONF += "--disable-fatal-warnings --enable-doc=no \
  	--with-initdir=${sysconfdir}/init.d"
  
  do_configure_prepend() {
  
negative.code: 	${libdir}/stonith/plugins/stonith2/*.a \
  	"
  FILES_liblrm = " \
  	${libdir}/liblrm${SOLIBS} \
  	"
  
  FILES_liblrm-dev = "${includedir}/heartbeat/lrm"
  
  FILES_libplumb = " \
  	${libdir}/libplumb${SOLIBS} \
  	"
  
  FILES_libplumb-dev = "${includedir}/clplumbing"
  
  FILES_libpils = " \
  	${libdir}/libpils${SOLIBS} \
  	"
  
  FILES_libpils-dev = "${includedir}/pils"
  
  FILES_libplumbgpl = " \
  	${libdir}/libplumbgpl${SOLIBS} \
  	"
  
  FILES_libstonith = " \
  	${libdir}/libstonith${SOLIBS} \
  	"
  
  FILES_libstonith-dev = "${includedir}/stonith"
  