23 lines
623 B
TOML
23 lines
623 B
TOML
[source]
|
|
tar = "https://github.com/westes/flex/releases/download/v2.6.4/flex-2.6.4.tar.gz"
|
|
|
|
[build]
|
|
template = "custom"
|
|
script = """
|
|
DYNAMIC_INIT
|
|
COOKBOOK_CONFIGURE_FLAGS+=(
|
|
--disable-nls
|
|
)
|
|
# Prevent aclocal/automake regeneration during cross-compilation
|
|
# (host automake version may differ from the one that generated the tarball).
|
|
sleep 1
|
|
touch "${COOKBOOK_SOURCE}/aclocal.m4" \
|
|
"${COOKBOOK_SOURCE}/configure" \
|
|
"${COOKBOOK_SOURCE}/Makefile.in" \
|
|
"${COOKBOOK_SOURCE}/config.h.in" 2>/dev/null || true
|
|
cookbook_configure
|
|
"""
|
|
|
|
[package]
|
|
description = "Fast lexical analyzer generator (lex-compatible)"
|