DEPENDS = virtual/libc
RDEPENDS = libc6

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

inherit autotools libtool

do_stage () {
	install -m 0755 src/.libs/libopenobex* ${STAGING_LIBDIR}/
	install -d ${STAGING_DIR}/target/include/openobex
	install -m 0644 src/obex_const.h src/obex.h ${STAGING_DIR}/target/include/openobex/
	install -m 0755 openobex-config ${STAGING_BINDIR}/
}