From 2b10a9677817377618e33d2b07ab7caefe316633 Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Mon, 18 Aug 2014 17:05:22 +0000 Subject: Re-organise definitions with scripts/organise-morphologies.py --- strata/core/flex.morph | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 strata/core/flex.morph (limited to 'strata/core/flex.morph') diff --git a/strata/core/flex.morph b/strata/core/flex.morph new file mode 100644 index 00000000..7ca8f538 --- /dev/null +++ b/strata/core/flex.morph @@ -0,0 +1,12 @@ +name: flex +kind: chunk +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" -- cgit v1.2.1