unpack ${A}
cd ${S}
# patch to fix rfcomm to flush stdout
epatch ${FILESDIR}/${P}-rfcomm.patch
# Fix some installation locations
for dir in rfcomm tools; do