summaryrefslogtreecommitdiff
path: root/chunks/flex.morph
blob: e0628ea119e158bd6ddd9c0907d6681b99e9146e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
name: flex
kind: chunk
repo: upstream:flex
ref: de10f98e8a2dc2a021796811490d0f30c3cd90bf
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"