Source: flex
Section: devel
Priority: optional
Maintainer: OpenKylin Developers <packaging@lists.openkylin.top>
Build-Depends: debhelper-compat (= 13),
               dh-autoreconf,
               dpkg-dev (>= 1.17.14),
               bison,
               gettext,
               texinfo,
               help2man,
               file,
               po-debconf,
               flex <cross>
Build-Depends-Indep: texlive-latex-base,
                     texlive-fonts-recommended,
                     cm-super-minimal
Standards-Version: 4.3.0
VCS-Git: https://gitee.com/openkylin/flex.git
VCS-Browser: https://gitee.com/openkylin/flex
Homepage: https://github.com/westes/flex
Rules-Requires-Root: no

Package: flex
Architecture: any
Pre-Depends: debconf | debconf-2.0
Depends: ${shlibs:Depends}, m4, ${misc:Depends}
Recommends: gcc | c-compiler, libfl-dev
Suggests: bison, build-essential, flex-doc
Multi-Arch: foreign
Description: fast lexical analyzer generator
 Flex is a tool for generating scanners: programs which recognized lexical
 patterns in text. It reads the given input files for a description of a
 scanner to generate. The description is in the form of pairs of regular
 expressions and C code, called rules. Flex generates as output a C source
 file, lex.yy.c, which defines a routine yylex().  This file is compiled
 and linked with the -lfl library to produce an executable. When the
 executable is run, it analyzes its input for occurrences of the regular
 expressions. Whenever it finds one, it executes the corresponding C code.

Package: flex-doc
Section: doc
Architecture: all
Depends: ${misc:Depends}
Description: Documentation for flex (a fast lexical analyzer generator)
 Flex is a tool for generating scanners: programs which recognized lexical
 patterns in text. It reads the given input files for a description of a
 scanner to generate. The description is in the form of pairs of regular
 expressions and C code, called rules. Flex generates as output a C source
 file, lex.yy.c, which defines a routine yylex().  This file is compiled
 and linked with the -lfl library to produce an executable. When the
 executable is run, it analyzes its input for occurrences of the regular
 expressions. Whenever it finds one, it executes the corresponding C code.
 .
 This package contains the HTML documentation for flex.

Package: libfl2
Section: libs
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}, ${shlibs:Depends}
Replaces: flex (<< 2.5.39), libfl-dev (<= 2.6.4-4)
Breaks: flex (<< 2.5.39), libfl-dev (<= 2.6.4-4)
Description: SHARED library for flex (a fast lexical analyzer generator)
 Flex is a tool for generating scanners: programs which recognized lexical
 patterns in text. It reads the given input files for a description of a
 scanner to generate. The description is in the form of pairs of regular
 expressions and C code, called rules. Flex generates as output a C source
 file, lex.yy.c, which defines a routine yylex().  This file is compiled
 and linked with the -lfl library to produce an executable. When the
 executable is run, it analyzes its input for occurrences of the regular
 expressions. Whenever it finds one, it executes the corresponding C code.
 .
 This package contains the shared library for flex.

Package: libfl-dev
Section: libdevel
Architecture: any
Multi-Arch: same
Depends: ${misc:Depends}, flex (= ${binary:Version}), libfl2 (= ${binary:Version})
Replaces: flex (<< 2.5.39), flex-old (<= 2.5.4a-10)
Breaks: flex (<< 2.5.39), flex-old (<= 2.5.4a-10)
Description: static library for flex (a fast lexical analyzer generator)
 Flex is a tool for generating scanners: programs which recognized lexical
 patterns in text. It reads the given input files for a description of a
 scanner to generate. The description is in the form of pairs of regular
 expressions and C code, called rules. Flex generates as output a C source
 file, lex.yy.c, which defines a routine yylex().  This file is compiled
 and linked with the -lfl library to produce an executable. When the
 executable is run, it analyzes its input for occurrences of the regular
 expressions. Whenever it finds one, it executes the corresponding C code.
 .
 This package contains the static library for flex.
