From 10d4d1a1180076a15df3b91a9a51dba8b954351a Mon Sep 17 00:00:00 2001
From: Patrick McDermott <patrick.mcdermott@libiquity.com>
Date: Mon, 01 Jul 2019 23:58:50 -0400
Subject: Add binary packages

---
diff --git a/flex-doc.pkg/control b/flex-doc.pkg/control
new file mode 100644
index 0000000..4463284
--- /dev/null
+++ b/flex-doc.pkg/control
@@ -0,0 +1,7 @@
+Architecture: all
+Platform: all
+Depends: flex (>= ${Source-Version})
+Description: Fast lexical analyzer generator - documentation
+ ${Common-Description}
+ .
+ This package provides documentation for the fast lexical analyzer generator.
diff --git a/flex-doc.pkg/files b/flex-doc.pkg/files
new file mode 100644
index 0000000..f2eb93b
--- /dev/null
+++ b/flex-doc.pkg/files
@@ -0,0 +1,2 @@
+/usr/share/info/
+/usr/share/man/
diff --git a/flex-locales.pkg/control b/flex-locales.pkg/control
new file mode 100644
index 0000000..c47ebbd
--- /dev/null
+++ b/flex-locales.pkg/control
@@ -0,0 +1,7 @@
+Architecture: all
+Platform: all
+Depends: flex (>= ${Source-Version})
+Description: Fast lexical analyzer generator - locales
+ ${Common-Description}
+ .
+ This package provides locale files for the fast lexical analyzer generator.
diff --git a/flex-locales.pkg/files b/flex-locales.pkg/files
new file mode 100644
index 0000000..90d0bfc
--- /dev/null
+++ b/flex-locales.pkg/files
@@ -0,0 +1 @@
+/usr/share/locale/
diff --git a/flex.pkg/control b/flex.pkg/control
new file mode 100644
index 0000000..9dc2d4a
--- /dev/null
+++ b/flex.pkg/control
@@ -0,0 +1,5 @@
+Architecture: any
+Platform: all
+Depends: ${Shlib-Depends}
+Description: Fast lexical analyzer generator
+ ${Common-Description}
diff --git a/flex.pkg/docs b/flex.pkg/docs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/flex.pkg/docs
diff --git a/flex.pkg/files b/flex.pkg/files
new file mode 100644
index 0000000..ff26440
--- /dev/null
+++ b/flex.pkg/files
@@ -0,0 +1,3 @@
+/usr/bin/flex
+/usr/bin/flex++
+/usr/include/FlexLexer.h
diff --git a/libfl.2.pkg/control b/libfl.2.pkg/control
new file mode 100644
index 0000000..dc06fa2
--- /dev/null
+++ b/libfl.2.pkg/control
@@ -0,0 +1,8 @@
+Architecture: any
+Platform: all
+Depends: flex (= ${Binary-Version})
+Description: Fast lexical analyzer generator - runtime support library
+ ${Common-Description}
+ .
+ This package provides the flex runtime support library, which includes main()
+ and yywrap() functions.
diff --git a/libfl.2.pkg/files b/libfl.2.pkg/files
new file mode 100644
index 0000000..9cb0c61
--- /dev/null
+++ b/libfl.2.pkg/files
@@ -0,0 +1 @@
+/usr/lib/*/libfl.so*
diff --git a/substvars b/substvars
new file mode 100644
index 0000000..0fb859a
--- /dev/null
+++ b/substvars
@@ -0,0 +1,10 @@
+Common-Description:
+ flex is a tool for generating "scanners".  A scanner is a program which
+ recognizes lexical patterns in text.  flex reads the given input files, or its
+ standard input if no file names are given, 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 by
+ default, which defines a routine yylex().  This file can be compiled and linked
+ with the flex runtime 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.
--
cgit v0.9.1