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

SRC_URI = "${SOURCEFORGE_MIRROR}/flex/flex-2.5.31.tar.bz2 \
           file://flex-lvalue.diff;patch=1 \
           file://fix-gen.patch;patch=1"
S = "${WORKDIR}/flex-${PV}"

inherit autotools

# >> flex-2.5.31-r4: /usr/lib/libfl.a
# That one is a special case: it wants to stay in the main flex package,
# since flex itself is a development tool.  I'm not sure why it is a
# static-only library; that might be an error

FILES_${PN} += "${libdir}/libfl.a"