aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2019-12-09 19:27:59 +0300
committerCem Keylan <cem@ckyln.com>2019-12-09 19:27:59 +0300
commitf5d31759ce619389757161363f37da13426045ad (patch)
tree69828b210456fca34aef0d87b233e871c311d03b
parent03423e0583057cbe5a16f8439183e2dbc0e8dd7c (diff)
downloadrepository-f5d31759ce619389757161363f37da13426045ad.tar.gz
add flex
-rwxr-xr-xcore/flex/build11
-rw-r--r--core/flex/checksums1
-rw-r--r--core/flex/depends2
-rw-r--r--core/flex/sources1
-rw-r--r--core/flex/version1
5 files changed, 16 insertions, 0 deletions
diff --git a/core/flex/build b/core/flex/build
new file mode 100755
index 00000000..c0aa1260
--- /dev/null
+++ b/core/flex/build
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+
+./configure \
+ --prefix=/usr \
+ --disable-static \
+ --enable-shared \
+ ac_cv_func_malloc_0_nonnull=yes \
+ ac_cv_func_realloc_0_nonnull=yes
+
+make
+make DESTDIR="$1" install
diff --git a/core/flex/checksums b/core/flex/checksums
new file mode 100644
index 00000000..5f05df51
--- /dev/null
+++ b/core/flex/checksums
@@ -0,0 +1 @@
+e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995 flex-2.6.4.tar.gz
diff --git a/core/flex/depends b/core/flex/depends
new file mode 100644
index 00000000..1df8599d
--- /dev/null
+++ b/core/flex/depends
@@ -0,0 +1,2 @@
+bison
+m4
diff --git a/core/flex/sources b/core/flex/sources
new file mode 100644
index 00000000..c10fca72
--- /dev/null
+++ b/core/flex/sources
@@ -0,0 +1 @@
+https://github.com/westes/flex/releases/download/v2.6.4/flex-2.6.4.tar.gz
diff --git a/core/flex/version b/core/flex/version
new file mode 100644
index 00000000..f8b3069a
--- /dev/null
+++ b/core/flex/version
@@ -0,0 +1 @@
+2.6.4 3