anchor.diff:  
   inherit autotools
   
  -FILES_${PN}-dev += "${base_libdir}/libhandle.la \
  -                    ${base_libdir}/libhandle.so"
  +PACKAGES =+ "${PN}-fsck ${PN}-mkfs libhandle"
  +
  +RDEPENDS_${PN} = "${PN}-fsck ${PN}-mkfs"
  +
  +FILES_${PN}-fsck = "${base_sbindir}/fsck.xfs"
  +FILES_${PN}-mkfs = "${base_sbindir}/mkfs.xfs"
  +FILES_libhandle = "${base_libdir}/libhandle${SOLIBS}"
   
   EXTRA_OECONF = "--enable-gettext=no"
   do_configure () {
  
positive.code: DESCRIPTION = "XFS Filesystem Utilities"
  HOMEPAGE = "http://oss.sgi.com/projects/xfs"
  SECTION = "base"
  LICENSE = "LGPL2.1"
  
  LIC_FILES_CHKSUM = "file://Makefile;endline=3;md5=def2844770bb44eba37bc9ca8610fad4"
  
  DEPENDS = "util-linux"
  
  SRC_URI = "ftp://oss.sgi.com/projects/xfs/cmd_tars/${P}.tar.gz \
  	file://remove-install-as-user.patch \
  
negative.code: 	oe_runmake install
  	# needed for xfsdump
  	oe_runmake install-dev
  	rm ${D}${base_libdir}/libhandle.a
  	rm ${D}${base_libdir}/libhandle.la
  	rm ${D}${base_libdir}/libhandle.so
  	rm ${D}${libdir}/libhandle.so
  	ln -s ../..${base_libdir}/libhandle.so.1 ${D}${libdir}/libhandle.so
  }
  