DEPENDS = virtual/libc openobex
RDEPENDS = libc6 libopenobex1

SRC_URI = ${SOURCEFORGE_MIRROR}/openobex/${P}.tar.gz

inherit autotools libtool

EXTRA_OECONF = --disable-glibtest --with-glib-prefix=${STAGING_DIR}/target
export OPENOBEX_CFLAGS=-I${STAGING_DIR}/target/include
export OPENOBEX_CONFIG = ${STAGING_BINDIR}/openobex-config \
			 --prefix=${STAGING_DIR}/target \
			 --exec-prefix=${STAGING_DIR}/target

do_compile () {
	oe_runmake 'INCLUDES='
}