[build] type = "autotools" [build.flags] configure = ["--disable-static"] post_install = [ "ln -sv flex $DESTDIR/usr/bin/lex", "ln -sv flex.1 $DESTDIR/usr/share/man/man1/lex.1", ] [dependencies] runtime = [ "glibc", "m4", "sh", ] [package] description = "Fast Lexical Analyzer" homepage = "https://github.com/westes/flex" license = "BSD-2-Clause" name = "flex" version = "2.6.4" [[source]] extract_dir = "$name-$version" sha256 = "e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995" url = "https://github.com/westes/flex/releases/download/v$version/flex-$version.tar.gz"