summaryrefslogtreecommitdiff
path: root/recipes/build-tools/flex.recipe
blob: 05e9164dfc4bfa1ba5cfee9c5ab419d15fd64aea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python

class Recipe(recipe.Recipe):
    name = 'flex'
    version = '2.5.39'
    licenses = [License.BSD_like]
    stype = SourceType.TARBALL
    url = 'http://downloads.sourceforge.net/project/{0}/{0}-{1}.tar.gz'.format(name, version)
    files_bins = ['flex', 'flex++', 'lex']
    patches = ['flex/flex-Remove-no-undefined-from-LDFLAGS.patch',
               'flex/flex-configure.ac-Use-gettext-0.19.patch',
               'flex/flex-prevent-to-build-doc.patch']
    autoreconf = True
    platform_deps = {Platform.WINDOWS: ['mingw-gettext']}