DEPENDS = "virtual/libc"
RDEPENDS = "libc6"
DESCRIPTION = "Flex is a tool for generating programs \
that recognize lexical patterns in text."

SRC_URI = "${SOURCEFORGE_MIRROR}/lex/flex-${PV}.tar.bz2 \
	   file://${FILESDIR}/include.patch;patch=1"

inherit autotools

do_stage () {
	install -m 0644 libfl.a ${STAGING_LIBDIR}/
	install -m 0644 FlexLexer.h ${STAGING_INCDIR}/
}