summaryrefslogtreecommitdiff
path: root/strata/core/flex.morph
blob: 2794c9b1845ca21edaea153211963f22fbcbca3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
name: flex
kind: chunk
bootstrap-commands:
- autoreconf -ivf
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"