summaryrefslogtreecommitdiff
path: root/core/flex.morph
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2014-04-09 08:16:20 +0000
committerAdam Coldrick <adam.coldrick@codethink.co.uk>2014-04-09 08:16:20 +0000
commit2deabedb6e998d3bd96fd910617461a24a11d73b (patch)
treec61c71fda6768404ccfde568d9fcb36c2e787f52 /core/flex.morph
parent895bd79b3fa5178a6e2bf0d190ea7b5e660d8859 (diff)
downloaddefinitions-baserock/adamcoldrick/chunks-in-definitions.tar.gz
Move chunk morphologies into the definitions repositorybaserock/adamcoldrick/chunks-in-definitions
Actually move all the chunk morphologies into the subdirectory for the stratum containing each chunk. Also add a repo and ref field to the chunk morphologies. Any chunks which did not previously have chunk morphologies have now had a morphology generated.
Diffstat (limited to 'core/flex.morph')
-rw-r--r--core/flex.morph16
1 files changed, 16 insertions, 0 deletions
diff --git a/core/flex.morph b/core/flex.morph
new file mode 100644
index 00000000..7911660a
--- /dev/null
+++ b/core/flex.morph
@@ -0,0 +1,16 @@
+name: core/flex.morph
+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"
+build_depends:
+- core/m4.morph