anchor.diff:  		cp ${STAGING_DATADIR}/apr/apr_rules.mk ${S}/build/rules.mk
   	fi
   }
  +
   do_configure_prepend_class-native() {
   	cp ${STAGING_DATADIR_NATIVE}/apr/apr_rules.mk ${S}/build/rules.mk
   }
  +
   do_configure_append_class-native() {
   	sed -i "s#LIBTOOL=\$(SHELL) \$(apr_builddir)#LIBTOOL=\$(SHELL) ${STAGING_BINDIR_NATIVE}#" ${S}/build/rules.mk
   	# sometimes there isn't SHELL
  
positive.code: 	t=${D}${PTEST_PATH}/test
  	mkdir $t
  	for i in testall data; do \
  	  cp -r ${S}/test/$i $t; \
  	done
  }
  
negative.code: 		--without-sqlite2 \
  		--without-sqlite3 \
  		--with-expat=${STAGING_DIR_HOST}${prefix}"
  
  inherit autotools-brokensep lib_package binconfig
  
  