summaryrefslogtreecommitdiff
path: root/flex/flex-native_2.5.31.oe
blob: 764f577248590ebe6093a68e9278457002df2719 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
DESCRIPTION = "Flex is a tool for generating programs that recognize lexical patterns in text."
PR = "r1"

SRC_URI = "${SOURCEFORGE_MIRROR}/lex/flex-${PV}.tar.bz2"
S = "${WORKDIR}/flex-${PV}"

inherit native autotools

do_stage () {
	install -m 0755 flex ${STAGING_BINDIR}
	oe_libinstall -a libfl ${STAGING_LIBDIR}
	ln -sf ./flex ${STAGING_BINDIR}/flex++
	ln -sf ./lex ${STAGING_BINDIR}/lex
}