tlex: use re2c instead of flex - mkports - recipes for building multiple softwares with mk(1)
(HTM) git clone git://z3bra.org/mkports
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit 03548d696a1520e989ecdd1f2536a11180e46cfd
(DIR) parent 00c6f7e803610f0f15b97b072837302bfbfca954
(HTM) Author: z3bra <contactatz3bradotorg>
Date: Thu, 26 Jan 2017 18:34:01 +0000
lex: use re2c instead of flex
Diffstat:
M lex/mkfile | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/lex/mkfile b/lex/mkfile
t@@ -1,5 +1,12 @@
-pkg = flex
-ver = 2.6.2
-url = https://github.com/westes/$pkg/releases/download/v$ver/$pkg-$ver.tar.gz
+pkg = lex
+ver = 0.16
+url = https://github.com/skvadrik/re2c/releases/download/0.16/re2c-0.16.tar.gz
<../default.mk
+
+install:QV: build
+ mkdir -p $destdir
+ cd $WORK/$pkg-$ver
+ make ${MAKEFLAGS} DESTDIR=$destdir install
+ ln -s re2c $destdir/bin/lex
+