summaryrefslogtreecommitdiff
path: root/flex/flex-native_2.5.4a.oe
blob: 5e1b5916a169408663a29feb3b335b75e49e6bdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
SECTION = "devel"
DESCRIPTION = "Flex is a tool for generating programs that recognize lexical patterns in text."
LICENSE = "BSD"
PR = "r0"

SRC_URI = "ftp://ftp.gnu.org/non-gnu/flex/flex-${PV}.tar.gz"
S = "${WORKDIR}/flex-2.5.4"

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 ./flex ${STAGING_BINDIR}/lex
}