diff options
Diffstat (limited to 'strata/core/flex.def')
-rw-r--r-- | strata/core/flex.def | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/strata/core/flex.def b/strata/core/flex.def new file mode 100644 index 00000000..59c1436a --- /dev/null +++ b/strata/core/flex.def @@ -0,0 +1,11 @@ +name: flex +configure-commands: +- ./configure --prefix="$PREFIX" +build-commands: +- make dist_doc_DATA= +install-commands: +- make dist_doc_DATA= DESTDIR="$DESTDIR" install +- ln -s libfl.a "$DESTDIR$PREFIX/lib/libl.a" +- echo "#!$PREFIX/bin/sh" >"$DESTDIR$PREFIX/bin/lex" +- echo 'exec '"$PREFIX"'/bin/flex -l "$@"' >>"$DESTDIR$PREFIX/bin/lex" +- chmod 755 "$DESTDIR$PREFIX/bin/lex" |