blob: c5df8f86734802d2386e96ecd342bb5fc6626e96 (
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-Remove-no-undefined-from-LDFLAGS.patch',
'flex-configure.ac-Use-gettext-0.19.patch',
'flex-prevent-to-build-doc.patch']
autoreconf = True
platform_deps = {Platform.WINDOWS: ['mingw-gettext']}
|